Most of blogger use English language on their blogs. Due to international Language, English is most used language for blogging.
If you are using language which is not your mother tongue for blogging and if you really want to use different language then you might like to have the dashboard in your language.
Here is a quick wordpress trick to use different languages on your WordPress blog or website.
Thanks to wp-snippets for this awesome trick. Pl consider it sharing with friends if you liked the trick.
If you are using language which is not your mother tongue for blogging and if you really want to use different language then you might like to have the dashboard in your language.
Here is a quick wordpress trick to use different languages on your WordPress blog or website.
How to setup another language for theme and admin..
Simply set the desired locale (on line 6) then add the code to your functions.php file.// setup one language for admin and the other for theme
// must be called before load_theme_textdomain()
function set_my_locale($locale) {
$locale = ( is_admin() ) ? "en_US" : "it_IT";
setlocale(LC_ALL, $local );
return $locale;
}
add_filter( 'locale', 'set_my_locale' );
?>
Thanks to wp-snippets for this awesome trick. Pl consider it sharing with friends if you liked the trick.
0 comments:
Important - Make sure to click the "Subscribe By Email" link below the comment for to be notified of follow up comments and replies.If you use Name/URL don't use keywords as your name (You Know Who You Are).
Post a Comment