Translating FWN

Dimitris Glezos dimitris at
Mon Jul 9 12:51:41 UTC 2007

Something that hit me today while eating breakfast.

For those who would like to translate FWN, or basically *any wiki page*, using
PO tools, something along the following lines *could* probably work:

wget -O fwn.xml -U NoSuchBrowser/1.0
xml2pot fwn.xml > fwn.pot
cp fwn.pot el.po
kbabel el.po
po2xml fwn.xml el.po > fwn.el.xml
docbook2html -o fwn-el fwn.el.xml
pandoc -f html -t rst el/t1.html > fwn.text

The end result is restructured text which can be used in the wiki and many CMSs.
Pandoc can output markdown as well (cool for emails).

Anyone willing to fine-tune the above procedure and put it up on a wiki page for
reference, the DocsProject folks know the docbook/translation procedure pretty
well and would be willing to help out.


Dimitris Glezos
Jabber ID: glezos at, GPG: 0xA5A04C3B

"He who gives up functionality for ease of use
loses both and deserves neither." (Anonymous)

More information about the trans mailing list