Re: [tg-trunk] extract_messages for *.jinja does not work at all.

2016-10-17 Thread Mingcai SHEN
Hi, Chris Thank you for replying. 1. yes, the extension is "jinja" and they are inside templaes folder; 2. jinja2 version is 2.8 3. I can see the "extract messages from jinja" output when running "python setup.py extract_messages" But it just can extract {% trans %} {% endtrans %} or {{ g

Re: [tg-trunk] extract_messages for *.jinja does not work at all.

2016-10-17 Thread Christoph Zwerschke
Am 17.10.2016 um 14:56 schrieb Mingcai SHEN: But it just can extract {% trans %} {% endtrans %} or {{ gettext('') }} from the template files into the pot file. You meant *can't* extract, not *can* extract, right? I just tried it with a newly created project, and this simple template: {{ gett

Re: [tg-trunk] extract_messages for *.jinja does not work at all.

2016-10-17 Thread Mingcai SHEN
Hi Chris I have the same version in my vertualenv with python version 2.7.8 and 2.7.12, I tried both on linux and windows, and they are the same, not text inside the tags was extracted into pot file. very strange Problem with virtualenv ? -- 在 2016年10月17日星期一 UTC+8下午9:39:07,Christoph Zwersc