Opened 6 years ago

Last modified 6 years ago

#29326 closed New feature

Auto-suffixing for irregular plurals in verbose_name_plural — at Version 3

Reported by: Byeong Gyu Choi Owned by: nobody
Component: Database layer (models, ORM) Version: dev
Severity: Normal Keywords: verbose_name_plural
Cc: Byeong Gyu Choi Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Byeong Gyu Choi)

For verbose_name_plural option in django Model Meta, django currently appends "s" when verbose_name is defined and verbose_name_plural is not.
However, I think that supporting auto-suffixing for irregular plurals, such as categories, would be good idea.

Since there exists countless irregular English plurals, rather than including whole dictionary of all English plurals, I thought at first, adding support for common rules of forming plurals would be decent idea. For instance:

  • adding 'es' support,
  • adding support for nouns ending with 'y'
  • etc.

https://www.grammarly.com/blog/plural-nouns/
I'm not sure about the link above is appropriate reference, but I couldn't find much better one.

Change History (3)

comment:1 by Byeong Gyu Choi, 6 years ago

Cc: Byeong Gyu Choi added

comment:2 by Tim Graham, 6 years ago

How would that work? By including a dictionary of irregular plurals?

comment:3 by Byeong Gyu Choi, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top