Re: Localization - what language is the host OS using?
Re: Localization - what language is the host OS using?
- Subject: Re: Localization - what language is the host OS using?
- From: JollyRoger <email@hidden>
- Date: Sun, 29 Oct 2000 09:40:04 -0600
Good idea. Thanks. Do you know if this is would work for all OS versions?
Also, do you know where I might get a list of what letters are used for each
language/region?
I was actually thinking more along the lines of being able to query the
system to find out what script was being used. Since it's possible to use
multiple languages on a single machine, it would be nice to be able to
supply multiple languages in my script and to be able to automatically
switch to the appropriate language based on the script in use on the host
system. Any more ideas?
JR
on 10/29/00 6:51 AM, Frank Watzl at email@hidden wrote:
>
At 20:52 Uhr -0500 28.10.2000, JollyRoger wrote:
>
> Anyone know if it is possible to determine what language a host system is
>
> using? I'd like to be able to tell if the script is running on a French,
>
> German, or English version of Mac OS. Any ideas?
>
>
hi,
>
>
tell application "Finder"
>
set fndrVers to version --try product version, too.
>
end tell
>
>
if "d" is in fndrVers then set isGerman to true
>
--"d" for "Deutsch"
>
--?? for "French"?
>
--?? for "???" ?
>
>
>
Frank Watzl
>
--??
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users