﻿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
6258	BlockTrans with variables does not support simple id-strings	Geir Gunnarsson <geir@…>	nobody	"After changes to i18n.py done in revision 6682 our blocktrans translations stopped working. We were not using the translations as documented so I guess we can not complain much :)
A typical usage in our web is:
{{{
{%blocktrans with ""Reykjavik"" as cityname%}bookhotelwith{%endblocktrans%}
}}}
where our .po file for English would include:
{{{
msgid ""bookhotelwith""
msgstr ""%(cityname)s ads""
}}}
and our .po file for Spanish would include:
{{{
msgid ""bookhotelwith""
msgstr ""%(cityname)s anuncios""
}}}
Now, after the fix we are forced to use the English version of the string as the msgid. This means that our msgid-s will be a lot longer and our worst case is where the English string is 527 characters. To us it looks more sensible to allow arbitrary identifiers for the strings to be translated. Our arbitrary identifiers work as before in regular trans-tags because there is no variable substitution in those.


"	Bug	closed	Internationalization	dev	Normal	wontfix	blocktrans, msgid, msgstr	atli@…	Design decision needed	0	0	0	0	0	0
