• 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: script for getting OS language
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: script for getting OS language


  • Subject: Re: script for getting OS language
  • From: Brian Ray <email@hidden>
  • Date: Wed, 28 Feb 2007 08:17:26 -0600



On Feb 28, 2007, at 2:42 AM, Alex Ivanov wrote:

Hi!

Is there a way to find out what is the language of my
system using an script?

I want to copy some files with the postinstall script
of the packagemaker based on the system language.


This should do the trick:

  defaults read -globalDomain AppleLanguages


HTH,

Brian Ray
http://kazavoo.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >script for getting OS language (From: Alex Ivanov <email@hidden>)

  • Prev by Date: script for getting OS language
  • Next by Date: Why am I am getting these messages - : object: myfilenames malformed object (unknown load command ## messages using PackageMaker
  • Previous by thread: script for getting OS language
  • Next by thread: Why am I am getting these messages - : object: myfilenames malformed object (unknown load command ## messages using PackageMaker
  • Index(es):
    • Date
    • Thread