Opened 19 months ago
Last modified 19 months ago
#35352 closed Bug
Unable to continue using custom languages with Django — at Initial Version
| Reported by: | Barney Szabolcs | Owned by: | nobody |
|---|---|---|---|
| Component: | Internationalization | Version: | 5.0 |
| Severity: | Normal | Keywords: | custom languages |
| Cc: | Barney Szabolcs | Triage Stage: | Unreviewed |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
with gettext version 0.22.5, Somali (so) and Cantonese (yue) stopped working.
If I remove language files for these two languages, the runserver works fine,
if I add back these two languages, error: ValueError: invalid token in plural form: EXPRESSION
Also, makemessages CommandError: Type 'manage.py help makemessages' for usage information.
Whereas, if I run makemessages -l so -l yue it works fine, but still the project does not start, yielding the same error.
This is a weird regression.
Quick fix: if needed, I can generate a quick translation for the Django .po files, using ChatGPT, but I don't know anyone who speaks Somali or Cantonese.