- You didn't need to copy the project.  You can use the prc2ovl tool on the
English prc and generate the French overlay (the strings would still be
English).  Then you can make the changes to the French overlay by opening it
in Constructor.

- You also need to make sure that you check the Generate xprf Resource
checkbox on the base database (the application's resource).  Since you
didn't say that you did this, I imagine this is your problem...

- The "standard" is to name the overlays appname_llCC (or myApp_enUS,
myApp_frFR).

Hope this helps,

Kevin

-----Original Message-----
From: mobi-systems [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 3:47 PM
To: Palm Developer Forum
Subject: Internationalization not working


Hi.
Please look what I have done by this moment and if you know where is my
mistake please answer me.

1 I create a simple project in CW 7. All resources are in English. The
output file is 'EnApp.prc'.

2 Then I duplicate the project by copying its folder. So I have two
folders - 'MyProject' and 'Copy of MyProject'.

3 Then I open the project file from the 'Copy of MyProject' folder and
modify the resources in this project so that all titles, alerts, strings,
button's labels and so on are in French.

4 Rebuild this "french" project and rename the output file to 'FrApp.prc'

5 Copy the 'prc2ovl.exe' tool, 'EnApp.prc' and 'FrApp.prc' in separate empty
folder.

6 After that using 'prc2ovl.exe' tool execute the following three lines in
DOS Prompt:

     1) prc2ovl.exe EnApp.prc -locale enUS -o EnOvl.prc -> creates
'EnOvl.prc' overlay for enUS
     2) prc2ovl.exe FrApp.prc -locale frFR -o FrOvl.prc -> creates
'FrOvl.prc' overlay for frFR
     3) prc2ovl.exe FrOvl.prc -c -p EnApp.prc -o FrFixedOvl.prc -> creates
'FrFixedOvl.prc'

After that I install two files on the Palm Emulator : EnApp.prc and
FrFixedOvl.prc.
Although I have chosen French language on the emulator my application
doesn't shows French titles, labels and so on.

I followed the instructions below for using the 'prc2ovl.exe' tool :

***************************************************************************
This example shows how you could build two language versions as separate
projects, and generate two language overlays that would work for a single
base:

1. Build your English language project: EnglishApp.prc.

2. Create a second project, where you duplicate the code from the first
project, but change the resources for your desired localization. For
example: GermanApp.prc.

3. Use PRC-to-Overlay to generate an English overlay: EnglishOvl.prc.

4. Use PRC-to-Overlay to generate a German overlay: GermanOvl.prc.

5. Use the Patch Overlay function to incorporate the checksums and overlay
resource descriptions from the English application into the GermanOvl.prc,
calling it FixedGermanOvl.prc.

As a result, you would have an EnglishBase.prc that would work with two
overlay PRCs: EnglishOvl.prc and FixedGermanOvl.prc.

************************************************************

They are at
http://www.palmos.com/dev/tech/docs/DevGuideNew/UsingOverlay.html.



Thank you for helping me,

Ivan.



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

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