• 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: Getting the default language with AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the default language with AppleScript


  • Subject: Re: Getting the default language with AppleScript
  • From: Bill <email@hidden>
  • Date: Mon, 26 Jul 2004 02:36:01 +0800

======
$ defaults read -g AppleLocale
--> fr_FR
Works for: Paul (S.), Paul (B.), Martin, Bill
Doesn't work for: -
======
$ defaults read -g AppleLanguages
--> (French, English,German,Dutch,Italian, Japanese, Spanish, da, fi,
ko, no, pt,sv,"zh_CN","zh_TW")
Works for: John, Paul (B.), Bill, Paul (S.)
Doesn't work for: -
======

Has someone found the underlying pattern?
As well as a precise definition of the various pieces read here and there?

Axel,

Apple has a PDF named System Overview:

<http://developer.apple.com/documentation/MacOSX/Conceptual/ SystemOverview/SystemOverview.pdf>

The chapter "Internationalization" talks about AppleLanguages & locale:

<http://developer.apple.com/documentation/MacOSX/Conceptual/ SystemOverview/index.html?http://developer.apple.com/documentation/ MacOSX/Conceptual/SystemOverview/International/ chapter_10_section_2.html>

You may find some relevant information there ;)


Regards
bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Getting the default language with AppleScript
      • From: Axel Luttgens <email@hidden>
  • Prev by Date: Re: iChat status message scroll
  • Next by Date: Re: Getting the default language with AppleScript
  • Previous by thread: Re: Getting the default language with AppleScript
  • Next by thread: Re: Getting the default language with AppleScript
  • Index(es):
    • Date
    • Thread