Article View: pilot.programmer
Article #9Re: Localisable resources?
From: Donovan Winch
Date: Mon, 16 Sep 2002 10:38
Date: Mon, 16 Sep 2002 10:38
33 lines
2789 bytes
2789 bytes
Hey People, Ben Combee wrote: > The standard PilRC plugin from Neil identifies itself as being for OS > "MacOS" and CPU "MC68K". This is to make it compatible with CodeWarrior > for Palm OS. Since its an open-source plugin, you could recompile it to > match the OS and processor IDs' used by ARM's linker plugin to the CW > IDE, but I don't know what those IDs are. Erk! I didn't even try to find out the IDs either, but thanks again for the idea. > The XRD format is still proprietary to PalmSource... I do not think > they've publicly released this format or their tools to support it, so > to get any information on that, you need to talk directly to them or to > the licensee you're working with. Ah. Well that would explain that, too. Although it seems rather odd that the resource file format is proprietary; kinda makes it hard to write resources in it! ;) As it is, I've got a program from the licensee (not sure if it's a standard program available to anyone or not), that generates a .xrd from a .rsrc. So I can build the .rsrc in constructor, generate the .xrd in UTF-8, localise the strings contained in there and build the .prc in CodeWarrior using the relevant localised .xrd file for resources. It's a bit fiddly and long-winded, but seems to work. Thanks for the help, Ben & Gavin. Donovan. (donovan dot winch at picsel dot com)
Technical Details
Message-ID:
<3D85B4A1.328299F3@picsel.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newspeer.clara.net!news.clara.net!despina.uk.clara.netReferences:
<3D77222C.6D2323E6@picsel.com> <YlId9.18235$Dr5.75017@news-server.bigpond.net.au> <3D78B9E7.77996FE6@picsel.com> <MPG.17e27943ff6174fa989874@news.earthlink.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109d41,27c085eec3e2efc4 X-Google-Attributes: gid109d41,public X-Google-Thread: 10baa0,27c085eec3e2efc4 X-Google-Attributes: gid10baa0,public X-Google-Thread: 10c638,27c085eec3e2efc4 X-Google-Attributes: gid10c638,public X-Google-Thread: 10228c,27c085eec3e2efc4 X-Google-Attributes: gid10228c,public X-Google-ArrivalTime: 2002-09-16 03:45:20 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newspeer.clara.net!news.clara.net!despina.uk.clara.net Message-ID: <3D85B4A1.328299F3@picsel.com> Date: Mon, 16 Sep 2002 11:38:25 +0100 From: Donovan Winch <donovan.winch@picsel.com> X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: pilot.programmer,pilot.programmer.codewarrior,codewarrior.embedded,codewarrior.palm Subject: Re: Localisable resources? References: <3D77222C.6D2323E6@picsel.com> <YlId9.18235$Dr5.75017@news-server.bigpond.net.au> <3D78B9E7.77996FE6@picsel.com> <MPG.17e27943ff6174fa989874@news.earthlink.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@clara.net (please include full headers) X-Trace: 96291b0430008008d802600a434839800239ca8a75818134d61b28093d85b620 NNTP-Posting-Date: Mon, 16 Sep 2002 11:44:48 +0100 Lines: 33