Hello, Kevin.

Thank you for your answer. It works now.
But I have another problem.

I have an application with two targets - EnglishTarget and GermanTarget.
In EnglishTarget I use a resource with English strings and in GermanTarget -
resource with German strings.
So I have two output files : EnApp.prc and GerApp.prc.
If you install the English .prc on the emulator everything is in English,
when I install the German .prc everything is in German.
Everything is allright.

Then I make an English overlay EnOvl.prc from EnApp.prc.
When I install EnOvl.prc and GerApp.prc on the emulator with English Palm OS
the English overlay doesn't overlays the German App and all strings are in
German.

Looking from here
http://www.palmos.com/dev/tech/docs/DevGuideNew/UsingOverlay.html I used the
patch function of the prc2ovl tool and executed this:
prc2ovl EnOvl.prc -c -p GerApp.prc -o EnOvlFixed.prc
The result wasn't the same as I expected - EnOvlFixed.prc and GerApp.prc
installed together didn't showed English strings on the Palm Emulator.

I know one of the decision - the one you said me. From the German App to
make overlay and then open it with Constructor and change the strings. But
if I already have resources in five different languages why I have to
translate from language to language again? And if my resources are too big
this work is very hard.

I thing that the patch function of prc2ovl fixes this problem but I don't
know how. If you can help me send me your advice.

Thank you, Kevin.
Best regards, Ivan.




----- Original Message -----
From: "Kevin OKeefe" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 9:57 AM
Subject: RE: Internationalization not working


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


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