• 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: LuKreme <email@hidden>
  • Date: Sat, 24 Jul 2004 13:34:10 -0600

On 23 Jul 2004, at 21:10, Paul Berkowitz wrote:
> But now I've discovered that a friend, also in OS 10.3.4 like I am,
> has no
> global AppleLocale default entry at all, and that command errors:

This means he's never explicitly set a language order in the
International Prefpane.

try
set TheLang to do shell script "defaults read -g AppleLocale"
on error
set TheLang to "en"
end

or thereabouts.


>
--
"I do not feel obliged to believe that same God who endowed us with
sense, reason, and intellect had intended for us to forego their use."
-Galileo

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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: Paul Berkowitz <email@hidden>
References: 
 >Re: Getting the default language with AppleScript (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Making folders and files as non-admin user [WAS: Re: Privileged shutdown]
  • Next by Date: Re: Making folders and files as non-admin user [WAS: Re: Privileged shutdown]
  • Previous by thread: Re: Getting the default language with AppleScript
  • Next by thread: Re: Getting the default language with AppleScript
  • Index(es):
    • Date
    • Thread