I've got a user based website with Wordpress and using their profile configurations they could choose the word what, this data along with other configurations are positioned for each user in user_meta.

I understand how to translate but, it is possible to method to set the theme language programmatically?


Edit: No plug ins please, I have to do that as easy as possible.

I discovered another solution, simpler that i can use.

Here you go:


Via: http://codex.wordpress.org/Function_Reference/load_theme_textdomain

I suppose you are searching for the [cde] filter, known as just at first of the [cde] function call.

That might be something similar to:


Code from brain to keyboard, not examined. You want to do more validations and thus.