Hello,
     I, too, am unable to get palm localization working through overlays.
I use codewarrior 6 and PRC2OVL for Palm OS 3.5 to build the app and
overlay as follows:
1.  Create app.prc that reads strings from a resource file, using
DmGetResource(), and writes them to the memo pad.
2.  Incorporate english-language string resources in app.prc, and install
the resulting app.prc in POSE running a french 3.5 rom.
3.  Modify the string resources in app.prc to french to create a version to
use with PRC2OVL. (Since I'm using the original app, things like the
creator ID should be the same - presumably PRC2OVL takes care of 'ovly' and
establishing the overlay as belonging to the frFR locale).
4.  Use PRC2OVL app.prc -local frFR -o app_frFR.prc to create a french
overlay, and install the app_frFR.prc in POSE.
5.  Run app.prc.  The memo pad shows the english strings instead of the the
french strings.

     The ROM is definitely french locale (OmGetCurrentLocale() confirms
language 'fr' country 'FR', and in fact the basic palm apps all have and
use _frFR overlays).   I exported the MemoPad.prc and it's frFR overlay
(using POSE) to tried and run PRC2OVL against the memopad to see if the
result matched the installed overlay.  Unfortunately, PRC2OVL complained
with error: "Error: cannot produce an overlay file from a stripped file".

     So I tried 'stripping' the english resources from the app.prc and
running it again ( thought perhaps if the resource was found in the base,
then the overlay wouldn't be queried at all).  This time, I get NULL back
from the DmGetResource() function, indicating it cannot find the resource
(so it obviously isn't using the overlay for some reason).

Unless code warrior is building the original app with the XPRF resource
indicating to disableOverlays(or PRC2OVL is incorrectly building the
overlay), I am at a loss to understand why the overlay is being ignored.

Ideas on how to determine why the overlay is being ignored would be greatly
appreciated...Thanks!

Janet Geddes


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