Re: Distribution lists
Re: Distribution lists
- Subject: Re: Distribution lists
- From: Christopher Ryan <email@hidden>
- Date: Wed, 6 Jul 2005 09:47:35 -0700
The javascript bridge in Distributions provides a bridge to
"defaults" which contains an ordered list of languages.
You can do something like:
var appleLanguages = system.defaults['AppleLanguages'];
system.log(appleLanguages);
if(appleLanguages && appleLanguages.length
&& (appleLanguages[0] == 'en')){
system.log('Running in English!!!');
}
Note that I am checking to make sure there is a appleLanguages and
that it contains at least 1 item before checking the first item.
Chris
Does anyone know of a way in a distribution list to determine what
language the user is running their OS in (i.e. en, jp, etc...)
-Wade
_______________________________________________
_______________________________________________
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