[Django] #35298: LANGUAGE_CODE: zh-Hant does not work for some translations on the admin site.

18 views
Skip to first unread message

Django

unread,
Mar 13, 2024, 9:34:09 AM3/13/24
to django-...@googlegroups.com
#35298: LANGUAGE_CODE: zh-Hant does not work for some translations on the admin
site.
------------------------------------------------+------------------------
Reporter: twFroggen | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 5.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
I am using LANGUAGE_CODE = 'zh-Hant' and USE_I18N = True on the admin
site, but translations for phrases like “start typing to filter…”, “Please
correct the errors below.”, “First, enter a username and password. Then,
you’ll be able to edit more user options.”, or “Hold down “Control”, or
“Command” on a Mac, to select more than one.” do not work properly.
However, if I switch to other languages, such as zh-Hans or ja, the
translations display correctly (only changing the LANGUAGE_CODE, all other
code remains the same).

[[Image(https://global.discourse-
cdn.com/business7/uploads/djangoproject/original/3X/0/3/03155d774608200be10e574fb64172c6dafa6a38.jpeg)]]
--
Ticket URL: <https://code.djangoproject.com/ticket/35298>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 13, 2024, 10:26:53 AM3/13/24
to django-...@googlegroups.com
#35298: LANGUAGE_CODE: zh-Hant does not work for some translations on the admin
site.
-------------------------------------+-------------------------------------
Reporter: twFroggen | Owner: nobody
Type: Bug | Status: new
Component: | Version: 5.0
Internationalization |
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 twFroggen:

Old description:

> I am using LANGUAGE_CODE = 'zh-Hant' and USE_I18N = True on the admin
> site, but translations for phrases like “start typing to filter…”,
> “Please correct the errors below.”, “First, enter a username and
> password. Then, you’ll be able to edit more user options.”, or “Hold down
> “Control”, or “Command” on a Mac, to select more than one.” do not work
> properly. However, if I switch to other languages, such as zh-Hans or ja,
> the translations display correctly (only changing the LANGUAGE_CODE, all
> other code remains the same).
>
> [[Image(https://global.discourse-
> cdn.com/business7/uploads/djangoproject/original/3X/0/3/03155d774608200be10e574fb64172c6dafa6a38.jpeg)]]

New description:

I am using LANGUAGE_CODE = zh-Hant and USE_I18N = True on the admin site,
but translations for phrases like “start typing to filter…”, “Please
correct the errors below.”, “First, enter a username and password. Then,
you’ll be able to edit more user options.”, or “Hold down “Control”, or
“Command” on a Mac, to select more than one.” do not work properly.
However, if I switch to other languages, such as zh-Hans or ja, the
translations display correctly (only changing the LANGUAGE_CODE, all other
code remains the same).

[[Image(https://global.discourse-
cdn.com/business7/uploads/djangoproject/original/3X/0/3/03155d774608200be10e574fb64172c6dafa6a38.jpeg)]]

--
--
Ticket URL: <https://code.djangoproject.com/ticket/35298#comment:1>

Django

unread,
Mar 13, 2024, 10:58:26 AM3/13/24
to django-...@googlegroups.com
#35298: LANGUAGE_CODE: zh-Hant does not work for some translations on the admin
site.
-------------------------------------+-------------------------------------
Reporter: twFroggen | Owner: nobody
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
* status: new => closed

Comment:

Hello twFroggen!

Thank you for your report. Please note that the issue you are describing
is caused by the English string not having an available translation for
the language you are using.
Translations are handled at
[https://docs.djangoproject.com/en/dev/internals/contributing/localizing/#translations
Transifex], the normal workflow is to translate strings using the
Transifex platform (https://explore.transifex.com/django/django-docs/),
and then periodically, we fetch the translations from Transifex to put
them in this repo.

For more information and help, you can post in the
[https://forum.djangoproject.com/c/internals/i18n/14 Django Forum].
--
Ticket URL: <https://code.djangoproject.com/ticket/35298#comment:2>

Django

unread,
Mar 15, 2024, 9:29:17 AM3/15/24
to django-...@googlegroups.com
#35298: LANGUAGE_CODE: zh-Hant does not work for some translations on the admin
site.
-------------------------------------+-------------------------------------
Reporter: twFroggen | Owner: nobody
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
-------------------------------------+-------------------------------------
Comment (by twFroggen):

Replying to [comment:2 Natalia Bidart]:
Thank you for your reply. I visited the Transifex website and noticed
that, as you mentioned, the zh-Hant translation is not 100% complete.
However, I have a question: I found some strings in the Django source code
that are present in the .po files, but they are not correctly translated.
Why is that?



> Hello twFroggen!
>
> Thank you for your report. Please note that the issue you are describing
is caused by the English string not having an available translation for
the language you are using.
> Translations are handled at
[https://docs.djangoproject.com/en/dev/internals/contributing/localizing/#translations
Transifex], the normal workflow is to translate strings using the
Transifex platform (https://explore.transifex.com/django/django-docs/),
and then periodically, we fetch the translations from Transifex to put
them in this repo.
>
> For more information and help, you can post in the
[https://forum.djangoproject.com/c/internals/i18n/14 Django Forum].
--
Ticket URL: <https://code.djangoproject.com/ticket/35298#comment:3>

Django

unread,
Mar 15, 2024, 9:50:29 AM3/15/24
to django-...@googlegroups.com
#35298: LANGUAGE_CODE: zh-Hant does not work for some translations on the admin
site.
-------------------------------------+-------------------------------------
Reporter: twFroggen | Owner: nobody
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
-------------------------------------+-------------------------------------
Comment (by Natalia Bidart):

Replying to [comment:3 twFroggen]:
> Replying to [comment:2 Natalia Bidart]:
> Thank you for your reply. I visited the Transifex website and noticed
that, as you mentioned, the zh-Hant translation is not 100% complete.
However, I have a question: I found some strings in the Django source code
that are present in the .po files, but they are not correctly translated.
Why is that?

Translations are completed by volunteers from our community who donate
their time when they can. If you notice any incorrect or missing
translations, and if you have the availability to contribute, we encourage
you to join the translation team for your language. Please reach out in
the [https://forum.djangoproject.com/c/internals/i18n/14 ​Django Forum's
Internationalization category] to be added to the language team of your
choice and help improve these translations.

Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/35298#comment:4>

Django

unread,
Mar 23, 2024, 2:07:34 AM3/23/24
to django-...@googlegroups.com
#35298: LANGUAGE_CODE: zh-Hant does not work for some translations on the admin
site.
-------------------------------------+-------------------------------------
Reporter: 梁耀文 | Owner: nobody
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
-------------------------------------+-------------------------------------
Comment (by 梁耀文):

Replying to [comment:4 Natalia Bidart]:
> Replying to [comment:3 twFroggen]:
> > Replying to [comment:2 Natalia Bidart]:
> > Thank you for your reply. I visited the Transifex website and noticed
that, as you mentioned, the zh-Hant translation is not 100% complete.
However, I have a question: I found some strings in the Django source code
that are present in the .po files, but they are not correctly translated.
Why is that?
>
> Translations are completed by volunteers from our community who donate
their time when they can. If you notice any incorrect or missing
translations, and if you have the availability to contribute, we encourage
you to join the translation team for your language. Please reach out in
the [https://forum.djangoproject.com/c/internals/i18n/14 ​Django Forum's
Internationalization category] to be added to the language team of your
choice and help improve these translations.
>
> Thanks!


I applied a week ago, but I haven't received any response or approval yet.
I introduced myself on the Django internationalization forum and applied
to join Transifex, but I haven't received any response from either the
forum or Transifex. What can I do next to join the translation team?
--
Ticket URL: <https://code.djangoproject.com/ticket/35298#comment:5>

Django

unread,
Mar 23, 2024, 9:35:26 AM3/23/24
to django-...@googlegroups.com
#35298: LANGUAGE_CODE: zh-Hant does not work for some translations on the admin
site.
-------------------------------------+-------------------------------------
Reporter: 梁耀文 | Owner: nobody
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
-------------------------------------+-------------------------------------
Comment (by Claude Paroz):

> What can I do next to join the translation team?

Nothing else that being patient :-) You are in the team now.
--
Ticket URL: <https://code.djangoproject.com/ticket/35298#comment:6>
Reply all
Reply to author
Forward
0 new messages