I use native wordpress multisite for languages (it, en, fr, de, es). I need not to use a plugin.

Still, all the admin dashboards will be in italian, because editors are all italian people. I know __() and related functions get the translation language from the WPLANG constant, but WPLANG also affects admin languange.

I'd like to get frontend in different languages while admin always italian. Is it possible?

  • 1
    Go and have a look at this answer. You should be able to make it work for multisite. Hope this help Mar 18, 2014 at 4:15

1 Answer 1


Filter locale if is_admin() is TRUE:

is_admin() && add_filter( 'locale', function() {
    return 'it_IT';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.