#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
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

 * resolution:   => needsinfo
 * status:  new => closed

Comment:

 I don't think it's that "None" can't be translated, I see that in
 
[https://github.com/django/django/blob/16af0c60ed90813ed70ecef4e64a89301ed0f0a2/django/contrib/admin/locale/ja/LC_MESSAGES/django.po#L187
 django/contrib/admin/locale/ja/LC_MESSAGES] "None" is translated to "None"

 This could be a precedence issue, see
 [https://docs.djangoproject.com/en/5.1/topics/i18n/translation/#how-
 django-discovers-translations how django discovers translations].

 Can you share your `LOCALE_PATHS` and `INSTALLED_APPS` settings? We also
 have this existing ticket #34221, does your .po file contain `Plural-
 Forms`?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35760#comment:1>
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/01070191ea8b3ece-ddbb6f61-1511-4ef0-a493-29384da9c277-000000%40eu-central-1.amazonses.com.

Reply via email to