djangogirls
djangogirls copied to clipboard
Translation mismatch for pt_br message
When running django-admin makemessages --all
I faced the following issue:
It is possible to run as django-admin makemessages --locale=pt_br
but we need fixing anyway :)
Thanks!
I suspect this is a problem with django looking at the LANGUAGES
setting for its locale names.
https://docs.djangoproject.com/en/5.0/ref/settings/#languages
With Brazilian, the language code that needs to go in the setting is pt-br
, but message catalog creation uses locale name which is pt_BR.
This would need an investigation of how the --all
flag is handled.
I'll take a look once I finish the other one for sure :)