Lingua is a Python package that helps you find translateable texts in your
Python code, HTML files and other sources and generates POT-files for them. It
is the recommended tool for this
Pyramid, but can
be used for all Python code.
This release fixes several problems:
- When a Chameleon/ZPT template used multiple pipe-separated expressions
lingua would abort with a parse error. github issue
- If a message did not contain a percent-character lingua would incorrectly
flag it as a
- The timestamp in the POT header
%H:%Mformat instead of
%H%M, which was
a slight deviation from the standard broke Babel’s parser. github issue
As usual you can grab lingua from PyPI
or install it directly using pip.