Michael Glickman wrote:

>As you can see, Locale Manager allows browsing current locales, but doesn't
>allow adding a new one.

The Locale Manager has very little to do with the Overlay Manager. 
The Locale Manager provides an API to read default settings for 
various locales (e.g. the locale's currency symbol). The Overlay 
Manager supports auto-loading of localized resource data, keying off 
the device's current locale.

>This is probably because adding a new locale will require copying all system
>ovly data bases, and there are plenty of those.

Nope. You could add new locales to the set the Locale Manager "knows" 
about by modifying the 'locs'=10000 resource in the system. Though 
the format of this resource is private and subject to change in the 
future.

>Why PalmOS application have
>frFR but not frCA ? Probably because there is a French version of PalmOS
>with locale frFR, and no PalmOS version with locale frCA.

Yes, that is why you don't see any overlays with _frCA.

>Actually frCA is not the only example: how about enAU or enUK ? Anyway I
>wouldn't agree with your conclusion: PlamOS engine allows distributing a
>localised application, this is just a 'mere' implementation problem.

The three key points are:

1. Versions of Palm OS prior to 4.0 only supported overlays for the 
following six locales: enUS, frFR, itIT, deDE, esES, and jpJP.

2. With Palm OS 4.0 and later, if the device's current locale (as 
specified by the values of the sysFtrNumLanguage and sysFtrNumCountry 
features) is set appropriately, then an overlay for virtually any 
locale (as long as it's got a defined ISO language and country) will 
be auto-loaded by the Overlay Manager.

3. Normally the device's current locale is the same as its system 
locale, and the system locale can only be set to a locale where 
there's a corresponding valid system overlay.

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