>A few questions about locales and localization
>
>1.   I'm finding that via the 4.1 EFIGS Os, you can really only set the
>Language.  Regardless what I set the country to I always get the same locale
>from OmGetCurrentLocale()   Example:  Select French language from the boot
>language screen always OmGetCurrentLocale always returns language: 1
>country: 7 no matter what country I specify   Is this true, or am I
>mistaking or missing something?

I think you must be missing something. When you select French from 
the language picker app, it sets the device's system locale to be 
frFR (French in France), which would be a language value of 1 and a 
country value of 7.

So what do you mean by "...no matter what country I specify"? Specify where?

>2.   Given the above, there is really no way to distribute a true localized
>application via overlays?      In the French example only app_frFR.prc will
>ever be loaded, even if I have distributed app_frFR.prc (french FRANCE) and
>app_frCA.prc (french CANADA).

The device's system locale (actually its current locale) needs to be 
set to frCA in order for the app_frCA overlay to be used. Normally 
this means that you have to have at least a System_frCA overlay 
(otherwise OmSetSystemLocale will return an error), and be running on 
Palm OS 4.0 or later (since pre-4.0 versions of the OS only supported 
a fixed set of six locales). But as long as the OS was 4.0 or later, 
I think you could probably have an extension that set the 
country/language features to be frCA, and the device would continue 
to work properly.

>I've noticed via rscredit that Palm only distributes  _enEN, _frFR, deDE....
>overlays for their own applications.

Right (though _enEN is actually _enUS), as currently Palm only has 
localizations for these six locales).

-- Ken

Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to