Opened 4 years ago
Closed 4 years ago
#33645 closed Bug (duplicate)
Admin pagination always uses English pluralization rules
| Reported by: | sin-ack | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | 4.0 |
| 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
This line in the admin pagination template uses the model's verbose_name and verbose_name_plural to display how many objects are currently being displayed: https://github.com/django/django/blob/deedf5bbc347e47b3be6e15783fc43a9c0a69256/django/contrib/admin/templates/admin/pagination.html#L9
However, it does not take pluralization forms in other languages into consideration. {% blocktranslate %} with {% plural %} should be used here to take the pluralization into account.
Note:
See TracTickets
for help on using tickets.
Thanks for the report, this is a long-standing issue with no simple solution. Duplicate of #11688.