I have a bilingual website, how to get this forum change lang depending on page
-
Hello
I want to create a page for the french forum, and a page for the english forum.
Simply by chaging the asgaros forum language depending on the loaded page.There would be a part of the forum subjects in french another part in english.
Is there a way to do that?
I tried to load the text domain by doing this, but it’s a dirty way to do and anyway it seems it doesn’t work
if ( ! is_dir( $dir = WPMU_PLUGIN_DIR . '/plugins/asgaros-forum/languages' ) ) { if ( ! is_dir( $dir = WP_PLUGIN_DIR . '/plugins/asgaros-forum/languages' ) ) $dir = null; } echo $dir; load_plugin_textdomain( 'asgaros-forum' ,false , $dir );
How would you do? thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘I have a bilingual website, how to get this forum change lang depending on page’ is closed to new replies.