Re: How to switch language (nib)
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.