Hi Karel,
I found you as an well skilled palm os developer.
Please can you help me with palm os 5 localization?
I'm trying to make overlays for standard palm applications which are stored in ROM.
These things I have done (for example for calculator): - downloaded .prc - made overlay with prc2ovl -- Calculator_csCZ.prc - edited some string in it -- current size is about 2KB
But when I'm trying to HotSync it there is error in log -- ReadOnly,
Not sure what this means. Did you perhaps have the PRC still open on the desktop when you tried to HotSync it? What tool did you use to edit the string?
but file something is copied on device. File Calculator_csCZ is present on device but with the length of 84 bytes
This sounds like either the PRC was damaged when you edited it.
and when I'm trying to set system locale to csCZ an error is present -- Unknown Locale (but when I try to set it to e.g. German, everything works fine, therefore I think I must have made some mistake in the time of overlay creation).
No. What's confusing you is the difference between the system locale (the locale being used by the device) and the locale of an overlay PRC.
In order to change the system locale to csCZ, you MUST have, at a minimum, both a Boot_csCZ overlay PRC that's the localized version of the Boot_enUS overlay PRC, and you must also have a Palm OS Data_csCZ that's the localized version of the Palm OS Data_enS overlay PRC.
Boot_enUS is the PRC that contains all of the system resources. Palm OS Data_enUS is the PRC that contains the splash screen (the Palm OS logo) and the hard reset confirmation screen.
Other thing is that I can't find something how to set system font -- on Palm OS 4 it was made by direct access to the memory, but it doesn't work here.
Unfortunately, to properly support Czech you'll need a different character encoding (Latin-2/8859-2/CP1250), not PalmLatin (CP1252). So that means you really need to create a new locale module. You can't just localize the two existing overlays I mentioned above.
Your best bet is to find an existing 3rd party solution (maybe from Paragon?), and hope that they did it right and set the system locale properly.
-- 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/