Localization

Thierry Arbellot thierry.arbellot at wanadoo.fr
Tue Aug 17 12:01:15 EDT 2004


On Tuesday, Aug 17, 2004, at 17:45 Europe/Paris, Ken Ray wrote:

>> on MacOS 10.2.8 and Rev 2.1, this script returns empty
>>
>> To get the language, I use
>> replaceText(shell("defaults read NSGlobalDomain
>> AppleLanguages"),"(\s|\(|\))","")
>
> Thierry,
>
> When you get this, is the first one in the list the one that is 
> currently
> the active language? If not, how do you tell what is the currently 
> active
> language?
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com

Hi Ken,

Yes, the first in the list is the active language.
The languages in this list are sorted in the same order than the 
languages in the system preferences, international panel

Regards.
Thierry



More information about the use-livecode mailing list