﻿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
28015	Add makemessages --add-location=full|file|never option	Ling-Xiao Yang	Ling-Xiao Yang	"Refs: https://groups.google.com/forum/#!topic/django-developers/IkrjfBDA7iE

GNU gettext has supported `--add-location=full|file|never` since March 2014, in order to ease the version control of po files:

{{{
‘--add-location=type’
     Generate ‘#: filename:line’ lines (default).
     The optional type can be either ‘full’, ‘file’, or ‘never’. If it is not given or ‘full’, it generates the lines with both file name and line number. If it is ‘file’, the line number part is omitted. If it is ‘never’, it completely suppresses the lines (same as --no-location).
}}}

Supporting commands are: msgattrib, msgcat, msgcomm, msgconv, msgen, msgfilter, msggrep, msgmerge, msguniq, and xgettext

I'm proposing to support this argument in Django makemessages command. As for implementation, we may simply validate the argument and pass it to msgmerge, msguniq, msgattrib and xgettext (the commands that we use).

I'd love to make a pull request if this ticket is validated."	New feature	closed	Core (Management commands)	dev	Normal	fixed		ling-xiao.yang@…	Ready for checkin	1	0	0	1	0	0
