Opened 2 years ago

Closed 2 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.

Change History (1)

comment:1 by Claude Paroz, 2 years ago

Resolution: duplicate
Status: newclosed

Thanks for the report, this is a long-standing issue with no simple solution. Duplicate of #11688.

Note: See TracTickets for help on using tickets.
Back to Top