﻿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
31314	makemessages doesn't provide feedback when no locale is specified	Cristóbal Mackenzie	nobody	"makemessages requires that one of three flags be passed to specify locales for message building: `--locale` to explicitly specify locales, `--exclude` to specify locales to exclude, or  `--all` to build message files for all locales.

When non of these flags are present, the command doesn't show any errors for the user. According to the source code, it should raise `CommandError`, but that never happens because of a bug in an `if` statement that checks if a locale has been specified.

I've already fixed this in my fork and have submitted a small PR.

https://github.com/django/django/pull/12503

Please point out if there are any other necessary steps to move this forward. Thanks!"	Bug	new	Core (Management commands)	3.0	Normal		i18n		Unreviewed	0	0	0	0	0	0
