On Mar 12, 10:10 pm, Glenn Ramsey <[email protected]> wrote:
> How does one extract translatable text from the {% trans %} tags in a
> Jinja template to produce a PO file?

I am using jinja2 templates in connection with pyramid which uses
distutils (or setuptools?) to create projects. Installing Babel into
my virtualenv adds commands to setup.py which are documented here:
http://babel.edgewall.org/wiki/Documentation/0.9/setup.html

The extract_messages command is the one to use. It works for me.

Hope this helps.

Henning

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pocoo-libs?hl=en.

Reply via email to