﻿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
10234	makemessages.py SyntaxErrors are hard to track because they don't say which template or file it happened in	Peter Bengtsson	Andrew Badr	"I ran `django-admin.py makemessages -l sv` and it turns out that I had forgotten the 'end' on {% endblocktrans %} so it threw this error:

{{{
SyntaxError: Translation blocks must not include other block tags: blocktrans
}}}

If you have many files with blocktrans in them it's hard to know where you've make the syntax error. 
I patched makemessages.py to also include the filename into error message. Now the error message looks like this instead:

{{{
SyntaxError: Translation blocks must not include other block tags: blocktrans (file: ./search/templates/500.html)
}}}"		closed	Internationalization	dev		fixed	django-admin		Accepted	1	0	0	1	0	0
