• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Changing the Locale for a single App?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the Locale for a single App?


  • Subject: Re: Changing the Locale for a single App?
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 16 Dec 2003 11:13:19 -0800

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.

References: 
 >Changing the Locale for a single App? (From: "Huyler, Christopher M" <email@hidden>)

  • Prev by Date: Re: retain variables between classes
  • Next by Date: Re: Changing the Locale for a single App?
  • Previous by thread: Changing the Locale for a single App?
  • Next by thread: Re: Changing the Locale for a single App?
  • Index(es):
    • Date
    • Thread