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

Ozh ozh at planetozh.com
Mon Mar 16 20:33:57 GMT 2009


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:)

On Mon, Mar 16, 2009 at 9:29 PM, Alex Polite <mylists at polite.se> wrote:
> I'd like to use English in the admin interface and Swedish on the outside.
> Is there a way of accomplishing that, short of writing a new plugin?
>
> alex
>
> --
> http://pipedreams.polite.se/about/
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
http://planetOzh.com ~ Blog and WordPress Stuff
http://FrenchFragFactory.net ~ Daily Quake News


More information about the wp-hackers mailing list