finder language from MACOSX

Thierry Arbellot thierry.arbellot at wanadoo.fr
Wed May 12 05:08:03 EDT 2004


Hi Paolo,

You can use the following command:

put replaceText(shell("defaults read NSGlobalDomain 
AppleLanguages"),"(\s|\(|\))","") into theLanguagesList

the theLanguagesList variable will contain the list of the chosen 
languages by the user as there are in the system preferences.
By example on my system: "en,fr,ko"

Note that a language could be in a short format - en - or long format - 
English

Hope it helps.

Thierry.

On Tuesday, May 11, 2004, at 17:53 Europe/Paris, paolo wrote:

>
> Do you know how can I get  the language selected by the user on system 
> preferences on  MAC OS X ?
>
> Ciao Paolo
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list