Opened 4 years ago
Closed 4 years ago
#32196 closed Uncategorized (needsinfo)
bug in admin panel translation when LANGUAGE_CODE is set to anything other than 'en-us'
Reported by: | mahdi firouzjaah | Owned by: | nobody |
---|---|---|---|
Component: | contrib.auth | Version: | 3.1 |
Severity: | Normal | Keywords: | auto_translation_error |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hello there
First of all, I would like to sincerely thank you for your efforts in developing Django.
I am a Persian and I prefer to use Persian language for the site and admin panel most of the time; But I noticed that after setting LANGUAGE_CODE for Persian, not all texts in the Django admin panel are translated correctly. And then I realized that there was a typo in the locale
files and the corresponding text in the Django Python files
, and that small mistake was to use the Apostrophe character
instead of the single Quotation character
, or vice versa. The inconsistent use of these two characters in some cases instead of each other has caused the translations to not be done correctly.
Thank you very much for your attention.
Hello,
Thanks for reporting, however nothing in your report points to a concrete example we could take to investigate your issue.
My guess is that it's due to incomplete Persian translations for the admin. Maybe you can try to contribute so as Persian translation are 100% complete for Django 3.2!
https://www.transifex.com/django/django/