Tower provides some additional functionality to Jinja and it's i18n extension, and the Babel library. Specifics:
- Collapses whitespace in all strings to prevent unwieldy msgids.
- Supports Gettext context (msgctxt) in all gettext, and ngettext calls.
- Supports merging PHP and Python .pot files. This is temporary. If you want to support that for an extended time look at phppo2pypo in the Translate Toolkit.
Look at requirements.txt.
pip install -e git://github.com/clouserw/tower.git#egg=tower