• 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: How to switch language (nib)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to switch language (nib)


  • Subject: Re: How to switch language (nib)
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 28 Oct 2003 15:21:13 -0800

On Oct 28, 2003, at 12:27 PM, Seaside wrote:

But if a user would like to switch within ONE application to
another language... May the application switch itself?

As far as I'm aware (please let me know if I'm wrong), a application cannot switch languages whilst running. You can, however, set a language preference for an individual application (as per <http://www.stepwise.com/Articles/Technical/2003-04-03.01.html>):

defaults write <myApp> AppleLanguages "(Language1, Language2, ...)"

or from within the application itself:

[[NSUserDefaults standardUserDefaults] setObject:[NSArray arrayWithObject:@"French"] forKey:@"AppleLanguages"];

and next time it's launched it will open in the specified language.

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: 
 >Re: How to switch language (nib) (From: Seaside <email@hidden>)

  • Prev by Date: Re: Reporting bugs... (Was-- Re: Xcode bug)
  • Next by Date: Plugins work in PB, but not as standalone
  • Previous by thread: Re: How to switch language (nib)
  • Next by thread: Re: How to switch language (nib)
  • Index(es):
    • Date
    • Thread