CommandError when using "makemessages" with domain option

I’m getting a rather generic CommandError when trying to generate the JavaScript translation catalog.

This is weird, because the same command used to work great and the docs have not changed.

I’ve tried

  • python manage.py makemessages -d djangojs
  • python manage.py makemessages -d django
  • python manage.py makemessages --domain djangojs
  • python manage.py makemessages --domain django

Can anyone replicate that? Is it possible I messed up the domains by accident?

Nevermind, I got it.
The command now requires the locale parameter. :woozy_face:
Why doesn’t it default to ‘all’ anymore?

It would be great to know the version of Django you are using.
On Django 3.1, the command should give an error in that case (https://github.com/django/django/commit/984531f). Just specify --all if you want that, explicit is better than implicit!