[wp-trac] [WordPress Trac] #34308: The _n*() functions don't cater for a string that represents exactly one item

WordPress Trac noreply at wordpress.org
Thu Nov 12 12:45:28 UTC 2015


#34308: The _n*() functions don't cater for a string that represents exactly one
item
--------------------------------------+------------------------------
 Reporter:  johnbillion               |       Owner:
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  I18N                      |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  dev-feedback 2nd-opinion  |     Focuses:
--------------------------------------+------------------------------

Comment (by Otto42):

 @SergeyBiryukov Yes, I am aware of that. But the gettext system allows you
 to specify more than two strings for Plurals already. It can handle cases
 where there are three or four or even six different ways to pluralize
 things just fine.

 If a language needs a specific rule for the "one" case, then it can
 already do that without any code changes. So, my question is: What is the
 specific case where this is needed? What can not be accomplished currently
 using a Plural-Forms ruleset?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34308#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list