[wp-trac] [WordPress Trac] #46112: Administration: Unnecessary use of plural handling for label counts

WordPress Trac noreply at wordpress.org
Sun Jan 27 09:40:47 UTC 2019


#46112: Administration: Unnecessary use of plural handling for label counts
--------------------------+------------------------------
 Reporter:  tobifjellner  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by tobifjellner):

 Sentences like
 "You have 1 green apple"/"You have 23 green apples" need the _n()
 construction.

 But
 "Number of tags: 34" does not.

 The point is that words "green apple" will have different form depending
 on the number. In English it happens to be that there's one form for 1 and
 another form for all other numbers. But in other langugages, the split may
 be different. Actually, there's a slight difference already between
 English and French (if I'm correct) in that English uses plural for 0.

 Slavic languages have three different forms, and a few languages, notably
 Arabic have several.

 But: If you use the form "Number of something: xxx", then you don't need
 _n()

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


More information about the wp-trac mailing list