﻿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
19270	makemessages and compilemessages force the location of PO files	julen	nobody	"Django's `makemessages` and `compilemessages` management commands currently force applications to put their PO files under //<LOCALE_PATH>/<lang_code>/LC_MESSAGES/<domain>.po//.

According to the [https://www.gnu.org/software/gettext/manual/gettext.html#Locating-Catalogs GNU gettext manual], //LC_<category>// should be used for Message Catalog files, i.e. MO files.

Thus, the cited management commands should //at least// provide an option to specify the location of PO files. Ideally PO files should be moved off the //LC_MESSAGES// directory too, as it becomes redundant. //LC_MESSAGES// directories would only be generated after invoking `compilemessages` and would only be used at run-time, as a location where compiled files are read from."	Cleanup/optimization	closed	Core (Management commands)		Normal	needsinfo	gettext, l10n, i18n, makemessages, compilemessages		Unreviewed	0	0	0	0	0	0
