Skip to:
Content
Pages
Categories
Search
Top
Bottom

Translation not working (I’ve tried everything! Help please)


  • kafic
    Participant

    @kafic

    Hello!
    The BuddyPress translation of my website is not working. I’m using it for the first time, but I followed EVERY tutorial here and outside here as well, and nothing seems to work for me.

    Wordpress Version: 4.4.2
    BuddyPress Version: 2.5.2
    Website: http://www.eflora.com.br
    Theme: Thrive

    First I translated with Poedit, then I uploaded the .po and .mo files to /wp-content/languages/buddypress (I didn´t have the BuddyPress folder so I created one as they told me to do in the tutorial here.

    I have both archives named correctly in this folder, as: buddypress-pt_BR.mo and buddypress-pt_BR.po. I tried to upload this to wp-content/languages/plugins too and nothing happens.

    wp-config file already has define(‘WPLANG’, ‘pt_BR’);
    And my WordPress settings are set to Portuguese language as well. Also the header of my WordPress site has the <html class=”no-js” lang=”pt-BR”>

    I don´t know what to do anymore…
    Please can someone help me with this?
    Thanks

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

  • celzio.biaz
    Participant

    @celziobiaz

    I had the same issue with CZ language: I had some strange character in my language file, i started it again from scratch and it worked just fine.

    I found also this: BuddyPress translation packages are only updated if the translation is at 100% translated, if you do not see your language after updating your translations, please consider contributing to the the BuddyPress translation project.


    danbp
    Moderator

    @danbp

    @kafic,

    Since WP 4.0, you no more need to add the language constant to wp-config.
    Read from here: https://codex.wordpress.org/Installing_WordPress_in_Your_Language

    Concerning brazilian portuguese, the WP translation file is named pt_BR.mo
    Once this file is stored in wp-content/languages/, you select pt_br as site language from dashboard > General > site language. This is slightly different from other languages like german or french, who appear as a name in the list and not as de_DE or fr_FR.

    To get BuddyPress in brazilian, you simply add the buddypress-pt_BR.mo to wp-content/languages/plugins/ directory

    Tested as ok on a beta install of WP 4.5RC2 and BP 2.6alpha

    Portuguese Brazilian translations files
    WP Stable 4.4.x pt_BR
    BuddyPress 2.5.x stable pt_BR

    At the botom of these pages, select Machine Object Message Catalog before exporting.

    And to get a plain translation of WordPress dashboard, don’t forget to export admin-pt_BR.mo (stored as sub-project on the left sidebar of translate.wordpress.org).

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar