• Does customizr theme has turkish language support?
    I have everything in Turkish language except theme itself, I set it as Turkish in options, WordPress itself is in Turkish language but everything related to theme is in English language.

    What should I do ?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,
    Change WP_LANG‘s value to tr in the wp_config.php file, at the root of your WordPress install :

    /**
     * WordPress Localized Language, defaults to English.
     *
     * Change this to localize WordPress. A corresponding MO file for the chosen
     * language must be installed to wp-content/languages. For example, install
     * de_DE.mo to wp-content/languages and set WPLANG to 'de_DE' to enable German
     * language support.
     */
    define('WPLANG', 'tr');

    Thread Starter Darkrad

    (@darkrad)

    I dont have this part in my wp_config.php and when I add it myself, nothing happens.

    Thread Starter Darkrad

    (@darkrad)

    It seems that I lack theme related documents in wp-content/language/themes there I don’t see anything related to Customizr theme.

    Hi,

    Login to your WordPress dashboard.
    Go to Settings -> General -> Site Language and set your site language.

    Then download this plugin. https://wordpress.org/plugins/loco-translate/
    Use it to scan all the strings ( words ) in the theme, you will be able to see what string has been translated and strings that are not translated.

    There is an interface in the plugin to allow you to translate the strings.

    Hope this helps.

    Thanks!

    Thread Starter Darkrad

    (@darkrad)

    Well apparently there was a bug, I had to change tr.mo and tr.po to tr_TR.mo and tr_TR.po and it worked. Thanks

    Hi,

    Thank you for your feedback.

    Yes, I just tried out on my localhost.
    The language Türkçe, http://i.share.pho.to/7003d8c3_o.png

    I can see the option value of the language Türkçe as follows
    <option lang="tr" value="tr_TR">Türkçe</option>

    The languages files in the theme are named wrongly, they should be tr_TR.mo and tr_TR.po

    I will file an issue report on Customizr Theme’s GitHub.

    Thanks!

    Hi,
    I have the similar problem related to Customizr theme.

    I changed wp-content.php like define(‘WPLANG’, ‘tr’);
    I changed language files to tr_TR.mo and tr_TR.po on the root (/httpdocs/wp-content/themes/customizr/inc/lang)
    I installed loco-translate plug-in and tried find some phrases seen by regular users like “Leave a comment” but even if the phrase is translated, site is still English.
    Then I thought maybe theme is using another language file which i cannot edit so inside the loco-translate plug-in i have clicked and downloaded mo and po files but download root was /wp-admin/admin-ajax.php
    I think functions are not working fot the theme.
    You guys have any other solution?

    Hi,

    NOTE: Do not define language in wp-config.php, that is for WordPress v3.9.2 and below.

    In Current WordPress version, you need to login to WordPress admin.
    The navigate to Settings > General > Site Language to set your language for the whole site.
    Please see screenshot http://i.share.pho.to/eee751b8_o.png

    Rename the files tr.mo and tr.po in customizr/inc/lang/ to tr_TR.mo and tr_TR.po

    NOTE: Not all strings are translated from English to Turkish, you need to search and translate the remaining strings by yourself.

    Download this plugin. https://wordpress.org/plugins/loco-translate/
    There is an interface in the plugin to allow you to translate the strings.
    Please see screenshot http://i.share.pho.to/48a9c372_o.png

    After translating you need to click on Save.

    For example. The edit button is translated in the theme.
    Please see screenshot. http://i.share.pho.to/790da287_o.png
    This is how the edit button looks on front end. ( You can only see edit button after you have logged into your site)
    Please see screenshot. http://i.share.pho.to/b1e20647_o.png

    After you have done translating. If you have cache plugin or server cache, you will have to clear it. Clear your browser cache before visiting your front end.

    Thanks!
    Denzel

    I did everything you wrote but nothing changed.
    http://share.pho.to/9uUgc
    Red arrows mean site is Turkish but theme is not…

    Hi,

    Please see screenshot that I had provided previously.
    http://i.share.pho.to/b1e20647_o.png

    It works properly on my test site and therefore it should work on your site.

    There are many strings with the word edit, did you translate the correct string?

    Did you save your translation?

    Do you have a cache plugin or server cache? If yes, you will need to clear your cache data.

    You will also need to clear your browser cache in order to see updates on your site.

    Hope this helps. 🙂

    Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Turkish language’ is closed to new replies.