• 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 app language
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Changing the app language
      • From: Francis Derive <email@hidden>
References: 
 >Changing the app language (From: "Jeff Bland" <email@hidden>)
 >Re: Changing the app language (From: Douglas Davidson <email@hidden>)
 >Re: Changing the app language (From: "Jeff Bland" <email@hidden>)
 >Re: Changing the app language (From: Brian Willoughby <email@hidden>)
 >Re: Changing the app language (From: Alastair Houghton <email@hidden>)
 >Re: Changing the app language (From: "Jeff Bland" <email@hidden>)
 >Re: Changing the app language (From: Francis Derive <email@hidden>)
 >Re: Changing the app language (From: Alastair Houghton <email@hidden>)
 >Re: Changing the app language (From: Francis Derive <email@hidden>)

  • Prev by Date: Re: Changing the app language
  • Next by Date: Re: LRFilterBar and Bindings
  • Previous by thread: Re: Changing the app language
  • Next by thread: Re: Changing the app language
  • Index(es):
    • Date
    • Thread