Opened 8 years ago
Last modified 8 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 )
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 , 8 years ago
| Cc: | added |
|---|
comment:2 by , 8 years ago
comment:3 by , 8 years ago
| Description: | modified (diff) |
|---|
How would that work? By including a dictionary of irregular plurals?