Setting WPLANG from a plugin
For a single site wordpress, the language must be set from wp-config.php‘s WPLANG, but is it possible to set from my plugin which override the default value? 1 1 In wp-includes/l10n.php you will find the function get_locale(). It offers a filter; you can set the language and ignore the constant: function get_locale() { global $locale; … Read more