Re: Changing the app language
Re: Changing the app language
- Subject: Re: Changing the app language
- From: Alastair Houghton <email@hidden>
- Date: Mon, 30 Jul 2007 11:55:03 +0100
On 30 Jul 2007, at 11:45, Francis Derive wrote:
My attention of this doc was about the values "en" versus/instead
of "English", ...etc. Didn't understand if "English" were still
supported or not.
Yes, they still work. But, as with localization in your application,
their use is supposedly discouraged (in spite of which, the default
folders in new projects tend to be named "the old way"---e.g.
"English.lproj").
For the rest, I wholly support your sound and functional approach
(sound because functional : runKiosk(select(language)).
Only but I wonder and fear which target the "language selector
program" will act upon : the entire system - like when we have to
log out ?
As long as you just pass the -AppleLanguages option as an argument of
the main kiosk program, it will work fine and will only affect the
application you started. We do something just like that for a
language selector we wrote for use on bootable CDs.
To see the effect, go to Terminal and enter the following
/Applications/TextEdit.app/Contents/MacOS/TextEdit -AppleLanguages
'<array><string>ko</string></array>'
If you enter it literally, you'll see that TextEdit starts with
everything in Korean, even the Apple menu.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden