#30939: Upgrading Django from 2.1 to 2.2 - strings are not translated
-------------------------------+--------------------------------------
Reporter: אורי | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by אורי:
Old description:
> I tried to upgrade Django from 2.1 to 2.2 in [https://github.com/speedy-
> net/speedy-net Speedy Net], and I found out that strings are not
> translated to Hebrew any more. Not all the strings, some of the strings.
> Especially strings translated with `ngettext_lazy`.
>
> Tests which fail with strings not translated - [https://travis-ci.org
> /speedy-net/speedy-net/jobs/605597350 here].
>
> In the Hebrew website I get error messages in English instead of Hebrew.
> For example "This password is too long. It must contain at most 120
> characters." instead of "סיסמה זו ארוכה מדי. היא יכולה להכיל 120 תווים
> לכל היותר." (and other error messages, for example in the registration
> form).
New description:
I tried to upgrade Django from 2.1 to 2.2 in [https://github.com/speedy-
net/speedy-net Speedy Net], and I found out that strings are not
translated to Hebrew any more. Not all the strings, some of the strings.
Especially strings translated with `ngettext_lazy`.
Tests which fail with strings not translated - [https://travis-ci.org
/speedy-net/speedy-net/jobs/605597350 here].
In the Hebrew website I get error messages in English instead of Hebrew.
For example "This password is too long. It must contain at most 120
characters." instead of "סיסמה זו ארוכה מדי. היא יכולה להכיל 120 תווים לכל
היותר." (and other error messages, for example in the registration form).
Not all the strings translated with `ngettext_lazy` are not translated,
but only some of them. For example, the error message "This password is
too short. It must contain at least 8 characters." is translated to Hebrew
in the Hebrew website and tests.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/30939#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.bc45504d11a88a9398c02335487154f1%40djangoproject.com.