nicole2009
Member
Posted 1 year ago #
I have changed the blog language but I would like to keep the interface language English (it changed automatically).
I read the instructions here on how to do it:
http://en.support.wordpress.com/language-settings/
According to this under Users > Personal Settings it should say languages but it doesn't on my blog.
Any help will be much appreciated!!!!
Put this in your theme's functions.php:
function admin_in_english_locale( $locale ) {
if ( is_admin() || false !== strpos($_SERVER['REQUEST_URI'], '/wp-includes/js/tinymce/tiny_mce_config.php')
|| false !== strpos($_SERVER['REQUEST_URI'], '/wp-login.php' ) ) {
return 'en_US';
}
return $locale;
}
add_filter( 'locale', 'admin_in_english_locale' );
or use this plugin: http://wordpress.org/extend/plugins/admin-in-english/
Ahmad Bagadood
Member
Posted 1 year ago #
The function did not work with the latest WP v3.
The plugin seems outdated.
:(