[Etoys] How can I export the .pot file for a class category?
korakurider at gmail.com
Tue Jan 29 10:34:21 EST 2008
On Jan 29, 2008 10:47 PM, Hilaire Fernandes <hilaire at ofset.org> wrote:
> I want to export message to DrGeoII.pot
Here are the steps to export the POT.
1. start the latest developer image and load DrGeoII.pr
2. evaluate this:
TextDomainManager registerCategoryPrefix: 'DrGeoII' domain: 'DrGeoII'.
By this, strings in all classes under DrGeoII-* will be mapped to
gettext textdomain 'DrGeoII'.
The registration is also needed for Squeak to translate strings
for the domain with compiled MO. As etoys image can't be overwritten
on XO after registration, It would be good to place the registration
in postscript of the project.
3. evaluate this, then po/DrGeo/DrGeoII.pr will be created.
Next expected question would be "how to deploy the translations for
As an example review http://dev.laptop.org/ticket/5546 and my
translated version of DiceWars attached. The proposed patch in the
ticket has been pushed, so you can test it with the recent joyride or
I even experimented to translate to DrGeoII so I can help if you need.
I would suggest you to publish the POT on Pootle (may be under etoys
project), so that people can contribute.
More information about the Etoys