Re: Detecting locale with preinstall script
Re: Detecting locale with preinstall script
- Subject: Re: Detecting locale with preinstall script
- From: Philip Aker <email@hidden>
- Date: Fri, 24 Oct 2008 01:48:16 -0700
On Oct 24, 2008, at 1:32 AM, Glover,David wrote:
I need to detect what the locale of the current users OS is with a
preinstall script, which is written in perl.
I’m assuming that this information is stored in a plist somewhere,
but I haven’t located it as yet! Does anybody know where or how I
can programmatically detect the locale / language?
Here are some Terminal calls. I don't know if they are the ones
recommended by Apple:
defaults read -g AppleLocale;
defaults read -g AppleLanguages;
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Democracy: Two wolves and a sheep voting on lunch.
_______________________________________________
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