Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'en_US.mo'

Viewing 4 results - 26 through 29 (of 29 total)
  • Author
    Search Results
  • #40125

    In reply to: Translating BuddyPress

    smueller
    Participant

    Sorry for jumping in here as this thread seems to have taking so many twists and turns that it appears to have a bit of a different purpose than originally. However, this is the only thread that comes close to answering my, seemingly easy, question but I’m still having issues. Specifically, all I’m trying to do is to change the word ‘Friends’ to ‘Contacts’ throughout the entire WPMU/BP install and not truly translate anything. Per suggestions from a few posts earlier in this thread I’ve done the following:

    1. changed the references to ‘Friend’ to contacts in the buddypress.po file using poedit

    2. saved the file changed in #1 as en_US.po and generated the corresponding en_US.mo file upon saving

    3. uploaded both the .po/.mo file into both the /wp-content/languages and /wp-content/mu-plugins/bp-languages folders

    4. verified that ‘American English’ was now available/set in the ‘Site Admin – Option’ and ‘Settings – General’ sections of the site.

    5. change the ‘WPLANG’ setting in the wp-config.php file to en_US

    and ….

    nothing has changed. What am I missing here? I know it must be me but this seems to be an awful lot of hoops to go through to make a seemingly easy and I would think common change. I’ve been at this for some time now so any clues anyone can provide would ease my frustration a bit. Thank in advance.

    #36611
    danbpfr
    Participant

    hi oldskoo,

    you get wrong by retrieving the (get locale() because at the next update of your bp-core.php file, this will be back again.

    And what do you think what are the language settings on site and blogs for ?

    wp-content/mu-plugins/bp-languages/buddypress-' . get_locale(). '.mo'

    this line means /path/to/your/locale language settings and call the translation file buddypres-en.mo (note the hyphen)

    get_locale() comes sometimes along with get_domain(), who entend something like en_US.mo or de_DE…

    You will find some functions using locale() and domain() in wp-includesl10n.php

    wich is one of the language setting file.

    #33850

    In reply to: Translating BuddyPress

    dudboi
    Participant

    Oops, that’s what I meant. Mistyped sorry.

    Still nada: http://donicethings.org/beta/wp-content/mu-plugins/bp-languages/buddypress-en_US.mo

    At http://donicethings.org/beta, groups is supposed to translated to “projects”.

    #33825

    In reply to: Translating BuddyPress

    dudboi
    Participant

    Apologies for hijacking the thread, but it seems like even with my file in the wp-content/plugins/bp-languages folder, it still doesn’t seem to work.

    My file is called en_US.mo cause I need to change a few words in buddypress (but not in WP Mu), but I didn’t change the WPLANG constant (though I’ve tried, not that it makes any sense changing it). Is that causing the non-translating-dom?

    Many thanks!

Viewing 4 results - 26 through 29 (of 29 total)
Skip to toolbar