• Hi all,
    Is there any way to localize the comments title “One thought on…” or “N thoughts on…” apart from editing class-content-comment.php file?

    Regards
    Piotr

Viewing 2 replies - 1 through 2 (of 2 total)
  • tomaja

    (@tomaja)

    Hi Piotr,
    editing any of the default theme files is not advised. Those strings should already be translated in the theme *.mo files for your language, like

    #: ../parts/class-content-comments.php:63
    #, php-format
    msgid "One thought on “%2$s”"
    msgstr "Jeden komentarz do ?%2$s”"

    If not, you could translate them in default.po file for your language and then convert it to *.mo file with poEdit or even with online convertor. Then you should place your mo file into the ../customizr/lang folder.
    I guess wordpress is set to show your language in wp-config.php with WPLANG, e.g. define ('WPLANG', 'pl_PL');

    tomaja

    (@tomaja)

    In fact I just saw that this could be an error in translated string, in msgstr "Jeden komentarz do “%2$s”" and thats the reason why you dont see it translated on your site. If you want I can send you corrected file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to localize comments title’ is closed to new replies.