WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've translated my site to English/South Africa - there's different translation for regular English - but I cannot figure out how to switch the site to en_ZA.

I have multisite install, and the domain I need to switch the language for is domain.com/za.

How to do this, any suggestions?

share|improve this question
up vote 3 down vote accepted

You need to set a locale filter, please see:


for an example,


share|improve this answer

Can you add this to the WP_CONFIG

define ('WPLANG', 'en_ZA');

For more info check out http://www.wikihow.com/Change-the-Default-Language-in-Wordpress

share|improve this answer
Thanks, but I need to switch the lang for only the za blog. I tried if (get_current_blog_id() == 15) define ('WPLANG', 'en_ZA');, which doesn't work, as the Wordpress functions aren't defined yet... – user1049961 Jun 30 '14 at 7:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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