* Andrea Florio <andrea@opensuse.org> [2010-05-25 16:22]:
the lxde team finally completed a "workflow" to translate the only two applications without an upstream translation.
i'm talking about lxcc and lxdm-conf
Both are very simplistic python scripts, before going through all the hoops you've mentioned, is there any particluar reason why upstream can't use gettext like everybody else? I mean hacking that in should take 10 minutes and we wouldn't have to worry about all of this in the first place.
attached the pot files generated from lxdmconf.moo and lxcc.moo
actually this is the workflow we follow to move from .moo files to .pot
and back from .po to .moo
(generate .ini file) moo2ini lxdmconf_template.moo > lxdmconf.ini
(generate .pot file we can easly translate) ini2po lxdmconf.ini lxdmconf.pot
those two steps has just been done.
once you got the translations you do:
(come back to .ini, not translated) po2ini -t lxdmconf.ini lxdmconf.po lxdmconf.ini
(merge translations (into ini) with template moo) ini2moo lxdmconf.ini lxdmconf_template.moo > lxdmconf.moo
the point is... can we do it? there is any way (a bash script) able to make our life easier?
If po2ini/ini2po support reading from or writing to stdout you can just pipe them together or put that into my scripts. -- Guido Berhoerster -- To unsubscribe, e-mail: opensuse-lxde+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-lxde+help@opensuse.org