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: [EMAIL PROTECTED]

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

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

Reply via email to