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
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to