﻿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
11966	Error: errors happened while running xgettext over template file with a literal that contains '%'	Adrian Ribao	nobody	"I find an error when running

{{{
manage.py makemessages -a
}}}

The problem comes when it reads a .html file with this content:

{{{
{% blocktrans %}This is some text ... 75% ... more text ... 75% of ...{% endblocktrans %}
}}}

The error is:

{{{
Error: errors happened while running xgettext on info-tripartita.html
./templates/myfile.html.py:98: atención: 'msgid' format string with unnamed arguments cannot be properly localized:
                                                                 The translator cannot reorder the arguments.
                                                                 Please consider using a format string with named arguments,
                                                                 and a mapping instead of a tuple for the arguments.

}}}


It's ok if there is only one '''%''' symbol in the string and even if the string has no characters after the second %:
{{{
{% blocktrans %}This is some text ... 75% ... more text ... 75%{% endblocktrans %}
}}}

I can't find a way to solve this problem.
"		closed	Internationalization	dev		fixed			Accepted	1	0	0	0	0	0
