Opened 6 years ago

Closed 6 years ago

#29326 closed New feature (wontfix)

Auto-suffixing for irregular plurals in verbose_name_plural

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 (5)

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)

in reply to:  2 comment:4 by Byeong Gyu Choi, 6 years ago

Replying to Tim Graham:

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

I have thought a different idea. Not sure about which one is better.
I edited decription of the ticket.

comment:5 by Tim Graham, 6 years ago

Resolution: wontfix
Status: newclosed

I'm not in favor of making a change here, particularly as it seems any solution will be English-centric. Feel free to raise the idea on the DevelopersMailingList, particularly if you have an implementation to share.

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