Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: I want to speak Spotlish


Seobrien
Participant

@seobrien

Having worked through the thread, my understanding is that this is the set of directions to follow in RC1 yet it failed to change anything:

1. Write in new language to msgstr within buddypress.pot and save as buddypress-spots.mo (wp-content/mu-plugins/bp-languages/buddypress-spots.mo)

msgid “Group Wire”

msgstr “Group CHANGED”

2. Create custom file bp-custom.php (wp-content/mu-plugins/bp-custom.php) as such:

<?php

define( ‘BPLANG’, ‘spots’ );

if ( file_exists( BP_PLUGIN_DIR . ‘/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ ) ) {

load_textdomain( ‘buddypress’, BP_PLUGIN_DIR . ‘/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ );

}

?>

What am I missing?

Skip to toolbar