I have started working on Overlays to create a localized application.
Can any body please answer the following queries for me
a) What i could i understand about overlays is "for every locale a different PRC file will be created".
Which will be loaded on the device. Is their any way to create only one PRC file for all the locales.
Not using overlays. There are various techniques for doing thus, such as using resource ID offsets based on the locale. But you'd have to write this yourself.
Can i do this localization stuff at run time. If yes then how?
In the past some 3rd party localization hacks did this by patching out low level resource loading calls, and then swapping in the "right" resource based on the target locale. But this is harder to get working on Palm OS 5, requires patching, and won't work on Palm OS 6 or later.
b) I have gone through the sample code for SDk5(r3).
It contains a sample App saying Address which has following directory in it's resource folder
C:\Palm OS 5 SDK (68K) R3\(CodeWarrior Examples)\Palm OS 5 SDK (68K) R3 Examples\Address\Rsc\Localized
which contains resources for Italian, French and other languages.
I am unable to find the way of creating the resources like this.(Overlays utility generates only PRC file)
Is their any other way to achieve localization.
I believe this sample is set up with different targets such that you build a full PRC with either English, French, Italian, German or Spanish resource data.
To create overlays, the hOverlay tool can be used if you've got an English PRC and a localized PRC. But you first have to create these PRCs yourself. Read the hOverlay documentation for details.
c) Is their any way to replicate the changes of base overlay to the new overlays ,without creating them again.
Not using PalmSource tools. Multilizer is a high end solution. Paragon has some tools for building their own form of overlays. Scott Maxwell has yet another solution, see <http://www.pocketpurchase.com/tools/PalmOS_Foreign_Language_Plug-ins.htm>.
-- 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/support/forums/
