[Django] #29326: Auto-suffixing for irregular plurals in verbose_name_plural

3 views
Skip to first unread message

Django

unread,
Apr 14, 2018, 1:56:01 PM4/14/18
to django-...@googlegroups.com
#29326: Auto-suffixing for irregular plurals in verbose_name_plural
-------------------------------------+-------------------------------------
Reporter: gyukebox | Owner: nobody
Type: New | Status: new
feature |
Component: Database | Version: master
layer (models, ORM) |
Severity: Normal | Keywords: verbose_name_plural
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
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.

--
Ticket URL: <https://code.djangoproject.com/ticket/29326>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 14, 2018, 1:56:40 PM4/14/18
to django-...@googlegroups.com
#29326: Auto-suffixing for irregular plurals in verbose_name_plural
-------------------------------------+-------------------------------------
Reporter: gyukebox | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: verbose_name_plural | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by gyukebox):

* cc: gyukebox (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/29326#comment:1>

Django

unread,
Apr 14, 2018, 3:50:00 PM4/14/18
to django-...@googlegroups.com
#29326: Auto-suffixing for irregular plurals in verbose_name_plural
-------------------------------------+-------------------------------------
Reporter: Byeong Gyu Choi | Owner: nobody

Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: verbose_name_plural | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

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

--
Ticket URL: <https://code.djangoproject.com/ticket/29326#comment:2>

Django

unread,
Apr 14, 2018, 11:56:26 PM4/14/18
to django-...@googlegroups.com
#29326: Auto-suffixing for irregular plurals in verbose_name_plural
-------------------------------------+-------------------------------------
Reporter: Byeong Gyu Choi | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: verbose_name_plural | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Byeong Gyu Choi:

Old description:

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

New description:

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.

--

--
Ticket URL: <https://code.djangoproject.com/ticket/29326#comment:3>

Django

unread,
Apr 14, 2018, 11:57:40 PM4/14/18
to django-...@googlegroups.com
#29326: Auto-suffixing for irregular plurals in verbose_name_plural
-------------------------------------+-------------------------------------
Reporter: Byeong Gyu Choi | Owner: nobody
Type: New feature | Status: new
Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution:
Keywords: verbose_name_plural | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Byeong Gyu Choi):

Replying to [comment:2 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.

--
Ticket URL: <https://code.djangoproject.com/ticket/29326#comment:4>

Django

unread,
Apr 15, 2018, 9:02:41 PM4/15/18
to django-...@googlegroups.com
#29326: Auto-suffixing for irregular plurals in verbose_name_plural
-------------------------------------+-------------------------------------
Reporter: Byeong Gyu Choi | Owner: nobody
Type: New feature | Status: closed

Component: Database layer | Version: master
(models, ORM) |
Severity: Normal | Resolution: wontfix

Keywords: verbose_name_plural | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => wontfix


Comment:

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/29326#comment:5>

Reply all
Reply to author
Forward
0 new messages