We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20289
    • 958 Posts
    Quote from: Sermat at Aug 08, 2007, 03:49 PM

    Hi i was translated the countries and now trying to translate lang files to turkish. Want to see country files? but still got some problems i think you can fix it thank you.

    http://serhatyolacan.com/download/turkish_country.inc.rar

    Regards,
    Serhat Yolaçan



    Get the attached file and drop/replace the .txt extention by .php and try it out... let me know about the results smiley

    Quote from: Sermat at Aug 08, 2007, 04:54 PM

    i have some problems. i was selected all character encoding, site only (UTF-8) working on my language but still got problem


    http://serhatyolacan.com/download/whynotworks.JPG

    1 place and index page is ok but 2 place has some problem

    when i selected turkish (iso-8859-9) 1 place got problem but 2 place is ok


    http://serhatyolacan.com/download/2.JPG

    how can i fix that?

    thank you

    Seems that you have misconfigured the database setting at the installation process... you should choose a correct db_collation_setting for the modx database and the other thing to save the language files under UTF-8 encoding.
    FYI: you can check the database settings from your config file.
      [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
      [td][Wiki] [Persian support forum]
      [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
      [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]
      • 33372
      • 1,611 Posts
      Definitely looks like a character set/collation mismatch to me. Those can be a major pain to debug, but I bet MotSmart can give you some useful pointers. I’ve never tried to do anything in Turkish before personally...
        "Things are not what they appear to be; nor are they otherwise." - Buddha

        "Well, gee, Buddha - that wasn't very helpful..." - ZAP

        Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
        • 26763
        • 16 Posts
        MotSmart has fixed my problem. i m thank him very much. My problem is turkish.inc.php file has not saved at UTF-8 format i selected all things and copy/paste new document and saved at UTF-8 format now index and management page working well. new ss is:


        http://www.serhatyolacan.com/download/ensonunda.JPG

        And trying to complete translation i completed %50+ i think.

        Thank you MotSmart
        Regards
          • 20289
          • 958 Posts
          Quote from: ZAP at Aug 09, 2007, 07:21 PM

          Definitely looks like a character set/collation mismatch to me. Those can be a major pain to debug, but I bet MotSmart can give you some useful pointers. I’ve never tried to do anything in Turkish before personally...

          Had a little chat with him and... Yes it was collation misconfiguration before plus the manager language file encoding mismatch smiley
          All the bests to MODx Lovers wink
            [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
            [td][Wiki] [Persian support forum]
            [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
            [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]
            • 26763
            • 16 Posts
            i have new problem i m still translating lang files but site makes some problem. now i havent charset problem but when saving tools> configuration> -save- then i see this error always :

            Warning: Cannot modify header information - headers already sent by (output started at /home/serhatyo/public_html/manager/includes/lang/turkish.inc.php:1) in /home/serhatyo/public_html/manager/processors/save_settings.processor.php on line 49

            and when try to logout the manager i see this error :

            Warning: Cannot modify header information - headers already sent by (output started at /home/serhatyo/public_html/manager/includes/lang/turkish.inc.php:1) in /home/serhatyo/public_html/manager/processors/logout.processor.php on line 19

            Warning: Cannot modify header information - headers already sent by (output started at /home/serhatyo/public_html/manager/includes/lang/turkish.inc.php:1) in /home/serhatyo/public_html/manager/processors/logout.processor.php on line 36

            Whats this mean, i must start to translate again? its too hard ....

            All permissions not changed site works other languages well and working localhost!!! without problem...
              • 33372
              • 1,611 Posts
              It sounds to me as if you have one or more characters outside of the <?php ?> tags in your language file. If any text at all is sent to the browser (and this text probably would be), then you can’t modify the headers afterwards, which would explain the errors. It could be just a space or a carriage return, and if you delete it that will probably fix the issue.
                "Things are not what they appear to be; nor are they otherwise." - Buddha

                "Well, gee, Buddha - that wasn&#39;t very helpful..." - ZAP

                Useful MODx links: documentation | wiki | forum guidelines | bugs & requests | info you should include with your post | commercial support options
                • 20289
                • 958 Posts
                NO need to restart translation of the file!... just take care of the files encodings to be UTF-8. strange error!, have to have a chat again sermat wink
                  [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
                  [td][Wiki] [Persian support forum]
                  [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
                  [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]
                  • 20289
                  • 958 Posts

                  #
                  latin5 (ISO 8859-9 Turkish) collations:
                  *
                  latin5_bin
                  *
                  latin5_turkish_ci (default)

                  @ sermat,
                  I had searched for the turkish charset issue that we had before and have found the above solution for it, The reality is turkish characters have its own language library beside utf-8 that ultimately renders all the characters, So now you test once more!, Please note that you have to save the manager and every files that you have translated in the same format, ie: ISO 8859-9.

                  Save the files with ISO 8859-9 encoding and create the database with the collation of latin5_turkish_ci .

                  Refer to collation sets of database for further information.
                    [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
                    [td][Wiki] [Persian support forum]
                    [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
                    [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]
                    • 5688
                    • 1 Posts
                    merhabalar...

                    türkçe bilen var mı bilmiyorum ama bu modx in türkçe translatesi lazım bana smiley

                    nerden bulabilirim saygılarımla...
                      • 20289
                      • 958 Posts
                      Quote from: compdeath at Jan 30, 2008, 02:22 AM

                      merhabalar...

                      türkçe bilen var mı bilmiyorum ama bu modx in türkçe translatesi lazım bana smiley

                      nerden bulabilirim saygılarımla...

                      Merhaba,
                      Çokdan onje biri Serhat ismiyle vardi ki MODixin bazı fılelarını türkçe dile translate edilmişti ama oda tamamlanmamişdi, O kardeşimden türkçe translatesini almişdim ki onün problemisini gorum nedir, herhalda O filellar bende var ve eğer istersan onlari bulmakdan sonra sana gondere bilirim, yineden diğerim kı olar kamil değil ama türkçeye gosterme ıçın hiç bir problemi yokdur.
                        [img]http://i10.tinypic.com/52c4eir.gif[/img][/td]
                        [td][Wiki] [Persian support forum]
                        [SVN] [RTL SVN Branch] [bugs] [FishEye+Crucible] [Learn MODx!] | [My Google Code]
                        [font=tahoma][برای دسترسی به راهنمای فارسی به [url=http://www.modxcms.ir]