Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Language file load evidence?


roydeanjr
Participant

@roydeanjr

Thank you for your interest in helping me.

Yes, here is my code:

define( ‘BPLANG’, ‘myrelative’ );
if ( file_exists( ‘/wp-content/bp-languages/bp-family-‘ . BPLANG . ‘.mo’ ) ) {
load_textdomain( ‘buddypress’, BP_PLUGIN_DIR . ‘/wp-content/bp-languages/bp-family-‘ . BPLANG . ‘.mo’ );
}

And, yes, I do have the folder and files under the bp-languages folder directly off wp-content rather than under buddypress in order to preserve the modifications.

I just can’t tell if the file is even being loaded and whether there is a problem with it.

Skip to toolbar