Re: I want to speak Spotlish
I created the translated file buddypress-mysite.mo and uploaded to the bp-languages folder. However when I place the below code in bp-custom.php and upload to the plugins folder it gives me an error
define( ‘BPLANG’, ‘lance’ );
if ( file_exists( BP_PLUGIN_DIR . ‘/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
load_textdomain( ‘buddypress’, BP_PLUGIN_DIR . ‘/bp-languages/buddypress-‘ . BPLANG . ‘.mo’ );
}
I am guess its something to do with the fact that I have not replaced ‘lance’ with my own website label. What should this label be and where can I find mine?
Thanks.