RE: Changing the Locale for a single App?
RE: Changing the Locale for a single App?
- Subject: RE: Changing the Locale for a single App?
- From: "Huyler, Christopher M" <email@hidden>
- Date: Tue, 16 Dec 2003 14:33:09 -0500
- Thread-topic: Changing the Locale for a single App?
I believe this will work...as long as it doesn't affect the rest of
"System Preferences". I'm working on incorporating it now...
Thanks!
~ Chris
-----Original Message-----
From: mmalcolm crawford [
mailto:email@hidden]
Sent: Tuesday, December 16, 2003 2:13 PM
To: Huyler, Christopher M
Cc: email@hidden
Subject: Re: Changing the Locale for a single App?
On Dec 16, 2003, at 10:13 AM, Huyler, Christopher M wrote:
>
Is it possible to change the locale of my application without changing
>
the language preference of the current user? I have been asked to put
>
a
>
language selector in our preference panel that will allow the user to
>
change the language of our entire product (including the preference
>
panel).
>
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
[ud setObject:[NSArray arrayWithObjects:@"fr", @"en", nil]
forKey:@"AppleLanguages"];
mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.