﻿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
29797	Allow the makemessages command to accept a directory to operate on like xgettext does	Terence Honles	Terence Honles	"PR: https://github.com/django/django/pull/10422

Use case:

{{{
REPO_ROOT
|-- manage.py
|-- app/
|   `-- ...
`-- .venv/
    `-- ...
}}}

When "".venv"" or another adjacent directory has a bad utf-8 marker or code that would cause xgettext to fail the management command cannot succeed. The workaround right now is to ""cd"" into the django_app and run ""../mange.py"" so the current directory is now the django_app and makemessages will properly exclude the other directories. Gettext has an options ""-D"" or ""--directory"" which changes the directory to recurse from the current directory to the specified directory. The patch linked adds that option and walks that directory instead of the current directory from the makemessages command."	New feature	closed	Core (Management commands)	2.1	Normal	wontfix			Unreviewed	1	0	0	0	1	0
