• 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: "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.

  • Follow-Ups:
    • Re: Changing the Locale for a single App?
      • From: mmalcolm crawford <email@hidden>
  • Prev by Date: Interface builder, .nibs, etc ...
  • Next by Date: Re: retain variables between classes
  • Previous by thread: Re: Changing the Locale for a single App?
  • Next by thread: Re: Changing the Locale for a single App?
  • Index(es):
    • Date
    • Thread