Skip to:
Content
Pages
Categories
Search
Top
Bottom

Language Files…

  • @flynn

    Participant

    Hey guys,
    Quick question. I followed the directions in the wiki as best I could for the modification of terms on the site (that is, I would like to change “Groups” to “Training Areas” and “Friends” to “Colleagues” etc.
    I made the MO and PO files with PoEdit and uploaded them to wp-content/languages but didn’t see any change.
    I tried adding the old BP support PHP, which of course just caused weirdness. So I’m kind of stuck.
    Any ideas as to what I’m missing?
    The language files are here: http://wyoln.org/wp-content/-languages
    (I added the “-” in front of the folder to complete remove the files, because it was causing some strange display stuff in the group creation process and we had to show inprogress work to clients.)
    ~ Thanks everyone!

Viewing 3 replies - 1 through 3 (of 3 total)
  • @r-a-y

    Keymaster

    Your language files are currently suffixed with “WyoDLC”. Try using “en_US” or whatever your WordPress locale is.

    If you want to keep your language files with the suffix “WyoDLC”, use this snippet in /wp-content/plugins/bp-custom.php:
    `define( ‘BPLANG’, ‘WyoDLC’ );
    if ( file_exists( WP_LANG_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
    load_textdomain( ‘buddypress’, WP_LANG_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ );
    }
    `

    Also make sure to rename your languages directory back to /wp-content/languages/.

    If this still doesn’t work, try regenerating your .po and .mo or post about the “weirdness” you’re experiencing.

    @flynn

    Participant

    welp, that’s egg on my face.
    I was being a bit creative with the naming conventions and I really shouldn’t have been.

    The next question I have is:
    Can one easily rebrand the tags used in plugins, for example, the Group Hierarchy plugin still shows “Great Member Group” instead of “Create Member Training Area”. Of course the BP lang files can’t have vars for every plugin, but if there’s a way that’s simpler than searching the plugin output files for phrases that would be fantastic ;)

    Thanks for all your help!

    @aces

    Participant
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Language Files…’ is closed to new replies.
Skip to toolbar