>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
>     break
>   case "Dimanche" is among the lines of the system weekdaynames
>     put "fr" into sprache
>     break
>   case "Domenica" is among the lines of the system weekdaynames
>     put "it" into sprache
>     break
>   case "Domingo" is among the lines of the system weekdaynames
>     put "sp" into sprache
>     break
>   default
>     put "gb" into sprache
>     break
>...
>
>Hope that helps


small correction:
        Sunday translated in dutch ("hl" -> Holland) is "Zondag".

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 ...

Jan

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

Reply via email to