Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation mismatch for pt_br message #973

Open
anaschwendler opened this issue Apr 21, 2024 · 2 comments
Open

Translation mismatch for pt_br message #973

anaschwendler opened this issue Apr 21, 2024 · 2 comments
Labels

Comments

@anaschwendler
Copy link
Contributor

When running django-admin makemessages --all I faced the following issue:
image

It is possible to run as django-admin makemessages --locale=pt_br but we need fixing anyway :)

Thanks!

@marksweb
Copy link
Collaborator

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.

@anaschwendler
Copy link
Contributor Author

I'll take a look once I finish the other one for sure :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants