#35760: Cannot translate word `None` using `gettext_lazy`
-------------------------------------+-------------------------------------
Reporter: Wladislav | Owner: (none)
Artsimovich |
Type: Bug | Status: closed
Component: | Version: 5.1
Internationalization |
Severity: Normal | Resolution: needsinfo
Keywords: translation | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Wladislav Artsimovich):
Good to know it's not a bug regarding some special or reserved keywords. I
literally mentioned to my colleague "There is no way we are the first ones
to try and translate `None`".
`LOCALE_PATHS` is simply `LOCALE_PATHS = ["locale"]`
`INSTALLED_APPS` is:
{{{
INSTALLED_APPS = [
"django.contrib.admin",
"django.contrib.auth",
"django.contrib.contenttypes",
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"django.contrib.admindocs",
"django_docutils",
"corsheaders",
"rest_framework",
"RestAPI",
"drf_yasg",
"taggit",
"social_django",
]
}}}
I have never enabled any form of fuzzy matching or plural handling, but we
do have `"Plural-Forms: nplurals=1; plural=0;\n"` at the top of our
`backend\RestAPI\locale\<language>\LC_MESSAGES\django.po`, so I'm not what
to make of it.
--
Ticket URL: <https://code.djangoproject.com/ticket/35760#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/01070191ea9d40f7-de8277d7-d64d-4760-b37e-ae4e1dcdda2a-000000%40eu-central-1.amazonses.com.