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: Paul Berkowitz <email@hidden>
- Date: Sat, 28 Oct 2000 19:49:32 -0700
On 10/28/00 6:52 PM, "JollyRoger" <email@hidden> 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?
>
I wonder if
System version of (get machine environment) -- Jon's Commands
includes any localization characters or words, which you could decipher if
necessary. The only thing that makes me doubt if this in fact works (I can't
test with my US version) is that the result is supposed to be 'string' but
in fact it's 'real' - a number. So Jon may just be using that hex-to-decimal
formula for sysv, which probably wouldn't give localizations.
Eric Grant once sent MacScrpt or this list a full list of certain system
resource codes for the Date & Time Control panel which specified which
localized language was being used for the date string. Perhaps Eric can help
here.
--
Paul Berkowitz