• 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: What is the System language
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is the System language


  • Subject: Re: What is the System language
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Thu, 12 May 2011 22:18:38 +0900

On 12 May 2011, at 20:23, KOENIG Yvan wrote:

> Le 12 mai 2011 à 12:52, Ronald Hofmann a écrit :
>
>> Hi all,
>> I´m looking for an apple script snippet to find out what language my system is.
>> A UNIX script would also do.
>
> do shell script "defaults read 'Apple Global Domain' AppleLocale"

Here is the last word, from Apple:

http://developer.apple.com/library/ios/#documentation/MacOSX/Conceptual/BPInternational/Articles/ChoosingLocalizations.html

AppleLocale is for the system locale (basically a set of values reflecting choices like area/currency etc) and  AppleLanguages is for preferred languages, of which the first is the language in which the applications will be displayed (if a localization is available).

Since SL is a Posix system, I guess that page is relevant:

http://en.wikipedia.org/wiki/Locale

cf. "General locale settings" for what the value expresses.

I suppose that OSX overrides the locale value with the Language value everywhere it is practical but keeps local values for "minor" items like the ones described in that section of the article.



Jean-Christophe Helary
----------------------------------------
fun: http://mac4translators.blogspot.com
work: http://www.doublet.jp (ja/en > fr)
tweets: http://twitter.com/brandelune

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: What is the System language
      • From: KOENIG Yvan <email@hidden>
References: 
 >What is the System language (From: Ronald Hofmann <email@hidden>)
 >Re: What is the System language (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Re: Quit Handler... What Am I Missing Here?
  • Next by Date: Re: What is the System language
  • Previous by thread: Re: What is the System language
  • Next by thread: Re: What is the System language
  • Index(es):
    • Date
    • Thread