WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Jetpack language (12 posts)

  1. eladleev
    Member
    Posted 3 months ago #

    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/

  2. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 3 months ago #

    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!

  3. eladleev
    Member
    Posted 3 months ago #

    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?

  4. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 3 months ago #

    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?

  5. eladleev
    Member
    Posted 3 months ago #

    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

  6. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 2 months ago #

    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.

  7. eladleev
    Member
    Posted 2 months ago #

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

    Any idea?

  8. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 2 months ago #

    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?filtersoriginal_id=84518

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

    Cheers!

  9. eladleev
    Member
    Posted 2 months ago #

    Of course I will!
    Tahnk you!

  10. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 2 months ago #

    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

  11. eladleev
    Member
    Posted 5 days ago #

    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!

  12. Brandon Kraft
    Happiness Engineer
    Plugin Author

    Posted 1 day ago #

    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!

Reply

You must log in to post.

About this Plugin

About this Topic