At 12:02am -0800 00-12-15, Palm Developer Forum digest wrote:
>Subject: Localization, overlays, and stripped files...
>From: "Janet Geddes" <[EMAIL PROTECTED]>
>Date: Thu, 14 Dec 2000 12:51:08 -0500
>X-Message-Number: 32
>
>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.

The problem is that the overlay being generated at this step contains 
checksums in the 'ovly' resource that are based on the French 
translated resources in your base PRC. So when you try to use this 
overlay with the English base, the checksums don't match what's in 
the English PRC.

You need to use PRC2OVL to extract an overlay from the _English_ 
version of the PRC, then use either the version of Constructor that 
edits PRCs (released on CD at PalmSource) or RsrcEdit (Palm app 
resource editor) to translate the overlay into French.

I don't have the tools documents in front of me, but I'm hoping the 
PRC2OVL manual says something about this sequence being the 
recommended way to create a localized 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