﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12377	Make the makemessages command more open	Kevin Renskers	nobody	"I am using Jinja2 instead of the Django template system in a test project. Everything is working fine, but I am running into a small problem regarding i18n:

The command ""django-admin makemessages"" doesn't find the translation strings, because the Jinja2 format differs from the Django format.

Django syntax: 
{{{
{% trans ""Hello"" %}
{% blocktrans %}Hello{% endblocktrans %}
}}}

Jinj2 syntax: 
{{{
{{ _('Hello') }}
{% trans %}Hello{% endtrans %}
}}}

The underscore syntax work fine, but the trans/endtrans doesn't: the regular expressions used by makemessages don't account for different template tags. As far as I can see there is no possible way to configure the system so it can work with different tags. It seems like a good idea to open this up, so different template systems can be used more easily. "	Uncategorized	closed	Internationalization		Normal	wontfix	makemessages i18n		Design decision needed	0	0	0	0	0	0
