﻿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
35389	stringformat filter in template breaks numeric localization	Danic	nobody	"The stringformat filter breaks the numeric localization in the template.

With these settings

{{{
LANGUAGES = [
    (""de"", _(""German"")),
    (""en"", _(""English"")),
]
LANGUAGE_CODE = ""de""
TIME_ZONE = ""Europe/Berlin""
USE_I18N = True
USE_TZ = True
}}}

the following template

{{{
{{ 3.14 }}
{{ 3.14 | localize }}
{{ 3.14 | unlocalize }}
{{ 3.14159265359 | stringformat:"".2f"" }}
{{ 3.14159265359 | stringformat:"".2f"" | localize }}
{{ 3.14159265359 | stringformat:"".2f"" | unlocalize }}
}}}


Should print

{{{
3,14
3,14
3.14
3,14
3,14
3.14
}}}

but factually prints

{{{
3,14
3,14
3.14
3.14 <--
3.14 <--
3.14
}}}

"	Bug	closed	Template system	5.0	Normal	invalid	locale, localization		Unreviewed	0	0	0	0	0	0
