[Django] #35862: invalid token in plural form: EXPRESSION on django/contrib/auth/locale/ru_RU and some other ru_RU file when running manage.py compilemessages -l ru_RU command

6 views
Skip to first unread message

Django

unread,
Oct 24, 2024, 1:57:27 PM10/24/24
to django-...@googlegroups.com
#35862: invalid token in plural form: EXPRESSION on
django/contrib/auth/locale/ru_RU and some other ru_RU file when running
manage.py compilemessages -l ru_RU command
-------------------------------------+-------------------------------------
Reporter: ebondarikksoftvoya | Type: Bug
Status: new | Component:
| Internationalization
Version: 5.0 | Severity: Release
| blocker
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
File
"/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/gettext.py",
line 94, in _tokenize
raise ValueError('invalid token in plural form: %s' % value)
ValueError: invalid token in plural form: EXPRESSION
**manage.py compilemessages -l ru_RU**
--
Ticket URL: <https://code.djangoproject.com/ticket/35862>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Oct 24, 2024, 2:38:30 PM10/24/24
to django-...@googlegroups.com
#35862: invalid token in plural form: EXPRESSION on
django/contrib/auth/locale/ru_RU and some other ru_RU file when running
manage.py compilemessages -l ru_RU command
-------------------------------------+-------------------------------------
Reporter: ebondarikksoftvoya | Owner: (none)
Type: Bug | Status: closed
Component: | Version: 5.0
Internationalization |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Natalia Bidart):

* resolution: => invalid
* severity: Release blocker => Normal
* status: new => closed

Comment:

Hello,

This report seems better suited to be a support request. The best place to
get answers to your issue is using any of the user support channels from
[https://docs.djangoproject.com/en/dev/faq/help/#how-do-i-do-x-why-
doesn-t-y-work-where-can-i-go-to-get-help this link].

Since the goal of this issue tracker is to track issues about Django
itself, and your issue seems, at first, to be located in your custom code,
I'll be closing this ticket as invalid following the
[https://docs.djangoproject.com/en/dev/internals/contributing/triaging-
tickets/#closing-tickets ticket triaging process]. If, after debugging,
you find out that this is indeed a bug in Django, please re-open with the
specific details and please be sure to include a small Django project to
reproduce or a failing test case.

Thank you!
--
Ticket URL: <https://code.djangoproject.com/ticket/35862#comment:1>
Reply all
Reply to author
Forward
0 new messages