﻿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
11240	Compilemessages fails if a % character is at certain places in the .po file	Till Backhaus	Marc Garcia	"Reproduce:
Create a template:
{{{
{% load i18n %}
{% trans ""findme 10% "" %}
}}}

run `./manage.py makemessages -a`

find the string in the .po file and translate it like this:
{{{
#: templates/test.html:2
#, python-format
msgid ""findme 10% of their""
msgstr ""findemich 10% an ""
}}}

run `./manage.py compilemessages`

get this error message:
{{{
/project/locale/de/LC_MESSAGES/django.po:925: 'msgstr' is not a valid Python format string, unlike 'msgid'. Reason: In the directive number 1, the character 'a' is not a valid conversion specifier.
msgfmt: found 1 fatal errors
}}}"	Bug	closed	Internationalization	1.3	Normal	fixed		kikko harm.verhagen+django@… claude@…	Accepted	1	0	0	1	0	0
