Re: What is the System language
Re: What is the System language
- Subject: Re: What is the System language
- From: KOENIG Yvan <email@hidden>
- Date: Thu, 12 May 2011 14:13:30 +0200
Le 12 mai 2011 à 13:41, Jean-Christophe Helary a écrit :
On 12 mai 11, 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"
The result is not accurate.
My $LANG variable is set to "fr_FR.UTF-8" for a reason I don't know
but my system is in English.
The above command gives:
fr_FR@currency=JPY
But defaults read NSGlobalDomain AppleLanguages gives en as the top
language.
Thanks for the feedback.
I guess that you are running the system in English while you are in
France.
I was unaware of this behavior so I will have to edit a lot of my
scripts.
Yvan KOENIG (VALLAURIS, France) 12 mai 2011 14:12:00
_______________________________________________
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