Note
Table of contents
Translating text into different languages is a tedious task. But with the help of some software it becomes manageable.
In particular I'm using
Po4a
virtaal
rest2html
The original text is maintained in reST format. Then it's checked by Po4a to build a source (a po file) for the translation process.
After the translation of that po file (done with virtaal here) the new reST file is finally built by Po4a.
The advantage in using Po4a here is that it's really easy to maintain translations.
Following the steps of the process.
Originally I found it here:
http://www.paolocorti.net/2012/01/05/managing_documentation_translations_with_open_source_tools/
po4a-gettextize -f text -o rest -m test_en.rst -M utf8 -p test.EN.pot
vi test.EN.pot
cp test.EN.pot test.DE.po
virtaal test.DE.po
po4a-translate -f text -o rest -m test_en.rst -M utf8 -p test.DE.po -l test_de.rst -k 10
Creation of the final HTML files
no real text here
no real text here
no real text here