#36950 closed Bug (invalid)

Django admin login page: "Forgotten your password or username?" is not translated in Japanese locale

Reported by: Ryu Owned by:
Component: contrib.admin Version: 5.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description (last modified by Ryu)

Description:


On the Django admin login page, the text:

"Forgotten your password or username?"

is not translated when the active language is set to Japanese (ja).

Even though the locale is properly configured and other texts on the admin login page are translated into Japanese, this specific string remains in English.

However, according to the source, the Japanese translation for this string exists in

https://github.com/django/django/blob/a73eed2b5d6dbc78e95482dbd79809b4bd6dd1fd/django/contrib/admin/locale/ja/LC_MESSAGES/django.po#L572-L573

It is possible that the key (msgid) used in the template does not exactly match the one defined in the translation file (for example, due to whitespace or context differences), which may be why the translation is not being applied at runtime.

Environment:

Django version: 5.2.10

Python version: 3.12

Attachments (1)

login-page.jpg (85.1 KB ) - added by Ryu 99 minutes ago.

Download all attachments as: .zip

Change History (6)

by Ryu, 99 minutes ago

Attachment: login-page.jpg added

comment:1 by Ryu, 84 minutes ago

Description: modified (diff)

comment:2 by Ryu, 75 minutes ago

Description: modified (diff)

comment:3 by Ryu, 75 minutes ago

Description: modified (diff)

comment:4 by Ryu, 55 minutes ago

Description: modified (diff)

comment:5 by Ryu, 47 minutes ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.
Back to Top