Universal Template Translation Tools - http://code.google.com/p/ut3/

--------------------------------------------------------------------------------
                             template2pot.py
--------------------------------------------------------------------------------

Tool to convert templated static HTML to POT, allowing the use of gettext
tools to translate the website. Example usage is

    > python template2pot.py -l "<i18n>" -r "</i18n>" -o speedcrunch.org.pot \
        *.template

This will extract all the templated strings marked between "<i18n>" and
"</i18n>" from the specified template files and write them to a POT file ready
for translations. When using "msgmerge" it is possible to merge previous
translations.

--------------------------------------------------------------------------------
                               po2final.py
--------------------------------------------------------------------------------

Tool to convert a fully (or even partially) translated gettext PO file into a
translated HTML file. For this process it is necessary to specify the original
template. Example usage is

    > python po2final.py -l "<i18n>" -r "</i18n>" -t index.html.template \
        -i speedcrunch.org.de.po -o index.de.html

This process creates a HTML file in which all occurrences of expressions like
"<i18n>some text</i18n>" will be replaced by their translated counterparts.

