Customizing Labels Failed
-
I followed the instructions at ttp://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/ to customize my bp labels, however I did not have a /plugins/bp-custom.php file, so I created one in my wp-content/plugins directory and added:
define( ‘BPLANG’, ‘mav’ );
if ( file_exists( WP_PLUGIN_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
load_textdomain( ‘buddypress’, WP_PLUGIN_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ );
}This resulted in no change in my site labels, so I looked at my buddypress-mav.mo file:
> cat buddypress-mav.mo
??$,8R9Project-Id-Version: BuddyPress
Report-Msgid-Bugs-To: wp-polyglots @lists.automattic.com
POT-Creation-Date: 2010-06-27 13:13+0000
PO-Revision-Date: 2010-MO-DA HO:MI+ZONE
Last-Translator: FULL NAME <EMAIL @ADDRESS>
Language-Team: LANGUAGE <LL @li.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bitThat’s all there is. I was expecting to see more even if it wasn’t readable.
What could I have missed?
- The topic ‘Customizing Labels Failed’ is closed to new replies.