#5023 HIGH Update.: tokenized Calculate.pot
Zarro Boogs per Child
bugtracker at laptop.org
Thu Nov 22 18:20:19 EST 2007
#5023: tokenized Calculate.pot
----------------------------------+-----------------------------------------
Reporter: xavi | Owner: rwh
Type: defect | Status: new
Priority: high | Milestone: Update.1
Component: calculator-activity | Version:
Resolution: | Keywords: i18n Pootle
Verified: 0 |
----------------------------------+-----------------------------------------
Comment(by xavi):
Good point... help & documentation in the source is not a good match.
Multilines should not be an issue and Pootle handles them transparently as
far as I've seen. A possible alternative could be to use
[http://translate.sourceforge.net/wiki/toolkit/poswap?DokuWiki=274c17539f389475b9bd4bdb8807766e
poswap] to swap the msgid used in the po files, but this would imply
swapping them back, I have never done this, but the flow could be
something like:
1) extract the token based POT (Calculate-token.pot)
2) generate/fill the documentation strings (Calculate-token.en.po)
3) use the Calculate-token.en.po as the 'intermediate language' for poswap
to generate the other languages (or feed that as the POT for Pootle)
4) before 'building' you have to reverse the swap of each xx.po generated
by Pootle
This way you avoid having the help & documentation strings in the source,
at the expense of more shuffling around.
--
Ticket URL: <http://dev.laptop.org/ticket/5023#comment:5>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list