WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] Jetpack language

[Resolved] Jetpack language

  • Hey,
    I’m trying to change the comment section text to my language.
    I changed my language in wp-config:
    define('WPLANG', 'he_IL');
    But the comment section is still in English and not in Hebrew.
    I have the he_IL files (.mo and .po) in the correct folder.
    What can i do?

    https://wordpress.org/plugins/jetpack/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Brandon Kraft

    @kraftbj

    Could you post your site URL here, so I can have a look?

    To confirm, this is for the Jetpack Comments form?

    If you want it to remain private, you can also contact us via this contact form:
    http://jetpack.me/contact-support/

    Thanks!

    Thank you for your answer!
    I downloaded a Hebrew board and the comment form changed to Hebrew .
    How can I stay with English board and change the comment form the Hebrew? Can I select what .mo file the plugin read? or can I translate by my self the English .mo file that the plugin uses now?

    Plugin Contributor Brandon Kraft

    @kraftbj

    I’m sorry, what do you mean by downloaded a Hebrew board?

    Can you send me a link to your site so I can see what’s in action?

    I’m sorry I can’t. It’s running on my localhost.
    What I mean is that:
    http://he.wordpress.org/
    a Hebrew distribution of WordPress

    Plugin Contributor Brandon Kraft

    @kraftbj

    I installed the Hebrew version of WordPress and everything is appearing in Hebrew for me, including the comments. https://cloudup.com/c-_Z79Ce9rj

    The elements outside of the form would be translated, typically, by your theme. Jetpack should be using the define('WPLANG', 'he_IL'); line.

    Can you update to the latest version (3.0.1) and check? With a new major version, the translations would have been updated.

    Cheers.

    Hey,
    Just upgraded to 3.0.1, still in English-
    http://i.imgur.com/TYcMlEw.png

    Any idea?

    Plugin Contributor Brandon Kraft

    @kraftbj

    Howdy,

    It looks like that particular string hasn’t been translated into Hebrew yet. You can contribute a translation by logging into your WordPress.com account at http://translate.wordpress.com/projects/wpcom/he/default?filters%5Boriginal_id%5D=84518

    If you’d be so willing, please contribute a translation and let me know when you’ve done so.

    Cheers!

    Of course I will!
    Tahnk you!

    Plugin Contributor Brandon Kraft

    @kraftbj

    Ah, it looks like the URL was stripped a bit from the forums parser. Here’s a link that’ll take you directly to the right translation: http://bk9.us/xo

    I know it’s a bit old, but if someone run in to this post and want to change the language, you can try what iv’e done-
    Edit the Jetpack “comments.php” file (locate at /wp-content/plugins/jetpack/modules/comments/comments.php), and grep that line:
    'lang' => get_bloginfo( 'language' ),
    Replace it with:
    'lang' => he_IL,
    Of course “he_IL” is my lang and you can select whatever your lang is.
    Pay attention you don’t forget the comma at the end of the line!

    Plugin Contributor Brandon Kraft

    @kraftbj

    Thanks eladleev. I have to say my standard note that editing plugin files isn’t recommended since each upgrade will fully replace those files and your changes.

    That is an interesting solution which suggests get_bloginfo( 'language' ) isn’t outputting what it should be. I’m going to look into it more.

    Cheers!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Jetpack language’ is closed to new replies.
Skip to toolbar