Systemlanguage

Dave Cragg dcragg at lacscentre.co.uk
Mon Nov 13 08:40:12 EST 2006


On 13 Nov 2006, at 12:41, Malte Brill wrote:

>
> Does anyone see a problem with this? Is there an easier / more  
> elegant way to do this?

On OS X, the following will produce a string language abbreviations:


   put "defaults read -g" && quote & "AppleLanguages" & quote into tCmd
   put shell(tCmd) into field 1


Produces this:

(en, ja, de, fr, nl, it, es, da, fi, ko, nb, pt, sv, "zh-Hans", "zh- 
Hant")

I presume the first item in the list is the deault system language,  
in this case "en" for English.

Is an equivalent on Windows?

Cheers
Dave



More information about the use-livecode mailing list