Opened 8 years ago
Closed 8 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 )
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 , 8 years ago
| Cc: | added |
|---|
follow-up: 4 comment:2 by , 8 years ago
comment:3 by , 8 years ago
| Description: | modified (diff) |
|---|
comment:4 by , 8 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 , 8 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
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.
How would that work? By including a dictionary of irregular plurals?