Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] bbPress and BuddyPress translation

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

  • danbp
    Moderator

    @danbp

    @giggio,

    verify that your translation files are in the correct directory.

    For bbPress:
    wp-content/languages/bbpress/bbp-xx_XX.mo (required)
    wp-content/languages/bbpress/bbp-xx_XX.po (option)
    where xx is your language

    For BuddyPress:
    wp-content/languages/plugins/buddypress-xx_XX.mo (required)
    wp-content/languages/plugins/buddypress-xx_XX.po (option)

    FYI: both plugins are shipped with a pot file containing the strings you can translate.
    /plugin_name/languages/plugin_name.pot

    Don’t put a translation in this folder, as it will be overwritten at each update.


    giggio
    Participant

    @giggio

    Yes, the files are in correct directory but the translation not work. Before the 4.0 update of wordpress there was not problem … Here is the site – http://pokerspirit.net/forum/new-topic/


    danbp
    Moderator

    @danbp

    it should work !
    Verify that your po/mo files are correctly using the _ underscore character not the – hyphen.
    bbpress-ru_RU.mo

    and set your site to the correct language, as actually he uses <html class="no-js" lang="en-US"> in the header !

    This should be made in wp-config define('WPLANG', 'ru_RU'); … if the site is in russian of course.


    giggio
    Participant

    @giggio

    All this is correct. The files is bbpress-bg_BG.mo and bbpress-bg_BG.po for bbpress and buddypress-bg_BG.mo and buddypress-bg_BG.po for buddyprerss. In wp-config – (‘WPLANG’, ‘bg_BG’) … site is in bulgarian.

    And like I said, all is worked correctly (almost a year till now) before wordpress update.


    giggio
    Participant

    @giggio




    danbp
    Moderator

    @danbp

    Check also the language setting in dashboard > general and don’t forget to save !


    giggio
    Participant

    @giggio

    Check also the language setting in dashboard > general and don’t forget to save !

    This is was the problem! Now all works. Thanks!


    danbp
    Moderator

    @danbp

    You’re welcome 😉 Glad you got it to work !

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] bbPress and BuddyPress translation’ is closed to new replies.
Skip to toolbar