Skip to:
Content
Pages
Categories
Search
Top
Bottom

Language Wont Change.


  • Eclipsetuner018
    Member

    @eclipsetuner018

    Alright, So i used poedit to edit my buddypress file. Im trying to change the term “groups” to “clubs”. i opened the pot file. edited every word “groups” and “group” to “clubs” and “club”. saves it, generated the .mo and .po file. opened ftp and loaded them both into the /wp-content/languages folder. For some reason tho, Nothing is working. Everything still says groups. is there something im missing? do i have to update or change any file to read off my language pack? I followed the instrustions here: (http://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/).

    any help would be appreciated.
    Thanks =D

    I added “define( ‘BPLANG’, ‘en_US’ );” in wp-content/plugins/bp-custom.php
    thats the only line in custom tho, do i need something else?

    Ok, So i also tried the “Codestyling Localization” plugin. Added my file. STILL NOTHING!! WTF is going on?!

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

  • Eclipsetuner018
    Member

    @eclipsetuner018

    ne1?


    israelwebdev
    Participant

    @israelwebdev

    not working for me either, hrmph


    israelwebdev
    Participant

    @israelwebdev

    Stopped being lazy and read the code.

    Firstly, I wasn’t paying attention to the “domain” of the strings I was translating, which seemed to be in both buddypress and the theme.

    BuddyPress language file had to be under wp-content/plugins/buddypress/bp-languages/, and be named buddypress-%locale%.mo (and .po) where %locale% is the configured locale, such as en_US

    The theme (from WPMUDev) had its own language files/domain, and those had to be in the theme’s language directory, and called %locale%.mo (and .po), and then a comment in the theme’s functions.php instructed me to:
    `/* uncomment if using custom mo / po file
    function init_theme_localization( $locale ) {
    return “en_US”; //must be same mo or po name in theme languages folder..it could be en_US or bp-en_EN etc
    }
    add_filter(‘locale’,’init_theme_localization’);
    */`

    Phew!

    I have your same problem… Could you tell me please how did you solve??? Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Language Wont Change.’ is closed to new replies.
Skip to toolbar