Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Language files for site in subdomain


phos flip
Participant

@wamoma

Hi Paul – this is what I have in custom.php

`define( ‘BPLANG’, ‘mysite’ );
if ( file_exists( WP_PLUGIN_DIR . ‘/languages/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
load_textdomain( ‘buddypress’, WP_PLUGIN_DIR . ‘/languages/buddypress-‘ . BPLANG . ‘.mo’ );
}`

and I have ‘buddypress-s4c.mo in the languages folder (in plugins) (and also the .po file)

I’ve just gone through it again just to double check I wasn’t being dumb. I’m using poedit and noticed it gave a couple of errors when saving (wasn’t clear what they were). I’ll download poedit again and see if that maybe helps.

Skip to toolbar