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 have a spanish wordpress blog. after upgdaring centos 5.7 to 5.8 the language changed to english . how can I recover it to spanish ?

share|improve this question

The WordPress locale depends on the WPLANG flag, this is found in your wp-config.php file, try to check there, that it's indeed set to Spanish.

WordPress does not try to get the system locale in any way, and depends on either the WPLANG option or definition as stated above. However, there is a locale filter that can be hooked to by other plugins which can set locale based on system locale. Search throughout your codebase for hooks to 'locale' to identify whether any plugin hijacked the locale or not. Alternatively disable all plugins and check again.

grep -rni 'add_filter' * | grep -rni 'locale' --color

share|improve this answer

Your Answer


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