Re: localize a theme with my own translation, is it possible?
hnia, hi, and thank you for your patience…
ehm… there is a little difference in the 2 files I have posted, in the second I wrote my-bp-language… (but I see the order was wrong) because I thought about create a folder “my-bp-language” in the plugin directory…
I would do like you have said:
“stick em in a new folder kept in /plugins/”
so if I have (ops!) understood, is:
`define( ‘BPLANG’, ‘mysite’ );
if ( file_exists( WP_PLUGIN_DIR . ‘/buddypress-‘ . BPLANG . ‘.mo’ ) ) {
load_textdomain( ‘buddypress’, WP_PLUGIN_DIR . ‘/my-language-files/buddypress-‘ . BPLANG . ‘.mo’ );
}`
and I put a folder “my-language-files” IN the plugin folder… is it right?
reassure me, please…
sorry hnia I’m totally newbie, I promise you I go on amazon to search the dummy’s book!!!
(but the english too is not my cup of tea… sigh!)
ciao! you are kind!