Localization
Klaus Major
klaus at major-k.de
Tue Aug 17 11:16:36 EDT 2004
Hi Jan,
>> Klaus Major:
>
>> i use to check the "system weekdaynames" for sunday, sounds strange,
>> but works :-D
>> (sprache = language)
>> ...
>> switch
>> case "Sonntag" is among the lines of the system weekdaynames
>> put "d" into sprache
>> break
>> case "Zondaag" is among the lines of the system weekdaynames
>> put "hl" into sprache
>> break
>> case "Sondaag" is among the lines of the system weekdaynames
>> put "af" into sprache
af = afrikaans
Hi Ryno, hoe gaat het met U? :-)
>> ...
>>
>> Hope that helps
>
> small correction:
> Sunday translated in dutch ("hl" -> Holland) is "Zondag".
(Jean-Claude) Verdamme, dat klopt :-)
> on Mac OS X you can get the language by
> word 1 of item 1 of line 2 of shell("defaults read NSGlobalDomain
> AppleLanguages")
> -> "English" or "Dutch" or "German" or ...
Sure, that's what i learned today, too ;-)
> Jan
Thanks and regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list