﻿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
35352	Unable to continue using custom languages with Django	Barney Szabolcs	nobody	"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` results in `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.
What's even weirder: if I set `makemessages -x de` (that should be irrelevant), then makemessages runs also fine.
Compilemessages runs also just fine.

This is a weird regression. Tested with python 3.9, 3.11, 3.12, all the same, Django 3.2.19, 4.2.11, 5.0.2.


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."	Bug	closed	Internationalization	5.0	Normal	invalid	custom languages	Barney Szabolcs	Unreviewed	0	0	0	0	0	0
