• Hi, im using Customizr and its already localized to german. But there are some words that arent localized yet, as you can see at the comments-section here:

    http://www.marksimons.de/fliegerhorst-ffb-gate-guards/

    It says: “2 thoughts on …” but i would like to change that into german words.

    I already created a child theme and activated that but need some help how to edit these strings.

    Thank you for your help,
    Mark

Viewing 4 replies - 1 through 4 (of 4 total)
  • See this guide to setting up WordPress multilingual sites with Customizr. In your case, you need a hybrid approach: take the existing .po file for German and update it. You can use it immediately on your site, but it would be great if you could also send to nikeo via the themesandco site, so that others can benefit.

    (Apologies for the list-item formatting in the guide; we’ll get to fix it at some point.)

    Thread Starter marksimons2

    (@marksimons2)

    Thank you very much. I followed your description and the country-code was already selected in WPLANG. Then i downloaded Poedit as described and corrected two errors that were already in that file .

    But the string i was looking for isnt listed there. In the customizr-theme the headline above my comments is for example “2 thoughts on …” but the only string explaing in the po-file says “2 Comments on …”:

    http://cl.ly/image/3J0O180y423z

    and as you can see it is translated already.

    Is it possible that Customizr uses it’s own translation or some own words (i.e: “thoughts” instead of “comments”)?

    Thread Starter marksimons2

    (@marksimons2)

    I just found out that the string i searched for has to be located in the comments.php but when i open the one that is provided with customizr it isn’t there. Ispent so many hours to look into that to change these tiny bugs but maybe it shouldn’t be. I really like Customizr but dont understand the po-file-Localization if not all strings weren’t listed there. Maybe it’s not even related to your nice theme but a general wordpress-bug. I have no idea what to do now…

    Yes, it looks like the German file is not up to date.

    Take a backup of the de_DE.po file and then edit it with a text editor—not a word-processing app and not poedit. Change the following:

    #: ../parts/class-content-comments.php:63
    #, php-format
    msgid "One thought on “%2$s”"
    msgstr "Ein Gedanke zu “%2$s”"

    to

    #: ../parts/class-content-comments.php:63
    #, php-format
    msgid "One thought on “%2$s”"
    msgid_plural "%1$s thoughts on “%2$s”"
    msgstr[0] "Ein Gedanke zu “%2$s”"
    msgstr[1] "%1$s Gedanken sur “%2$s”"

    Save the file and re-open it with poedit and check everything is OK. Resave with poedit (because this will create the .mo file) and put the .mo and .po files into the lang folder on your host.

    I’ll raise this for nikeo’s attention.

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

The topic ‘Improve / Edit localiation’ is closed to new replies.