[wp-hackers] Different languages in the admin and on the outside
Eric Marden
wp at xentek.net
Tue Mar 17 06:26:05 GMT 2009
On Mar 17, 2009, at 12:31 AM, Alex Polite wrote:
> 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.
I do believe that the locale strings are more in the format of FR_fr
(which is for French), so look at that before getting started.
- Eric Marden
http://xentek.net
More information about the wp-hackers
mailing list