The reason to detect a localised ROM is set up a default
keyboard layout (qwerty, azerty ...) for my app.
Thanks
horace
----- Original Message -----
From: Ken Krugler <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: 2000 Jan 09 Sun 11:08am
Subject: Re: How to detect a localized ROM?
> Horace,
>
> >Is there an API for detection of a localized ROM,
> >say, French, German ... ?
>
> To determine the device's current language, use
>
> Err result;
> UInt32 languageFeature;
>
> result = FtrGet(sysFtrCreator, sysFtrNumLanguage, &languageFeature);
>
> This is safe for ROM versions later than 2.0, but there are some odd
> issues with 1.0 & 2.0 (e.g. the IBM WorkPad was treated as a
> different "language"). I might add some glue code to help with this.
>
> BTW, I'm interested in why you need to know whether the ROM has been
> localized...
>
> Thanks,
>
> -- Ken
>
> Ken Krugler
> TransPac Software, Inc.
> <http://www.transpac.com>
> +1 530-470-9200 (direct) +1 408-261-7550 (main)
>
>