[wp-hackers] Different languages in the admin and on the outside

Alex Polite mylists at polite.se
Tue Mar 17 05:31:17 GMT 2009


On Mon, Mar 16, 2009 at 09:33:57PM +0100, Ozh wrote:
> Untested, but wouldn't a plugin with just:
> 
> if (is_admin()) {
>    define ('WPLANG', '');
> } else {
>    define ('WPLANG', 'se');
> }
> 
> work ?
> (assuming "se" is the locale, I've used a totally random string here:)
> 

Thanks, I'll try that. qtranslate and the other multilingual plugins
all seem like overkill for what I want to do.

alex

-- 
http://pipedreams.polite.se/about/


More information about the wp-hackers mailing list