[wp-trac] [WordPress Trac] #43537: _n() returns plural when count is zero

WordPress Trac noreply at wordpress.org
Tue Mar 13 12:07:52 UTC 2018


#43537: _n() returns plural when count is zero
--------------------------+----------------------
 Reporter:  arena         |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:  has-patch     |     Focuses:
--------------------------+----------------------
Changes (by ocean90):

 * status:  new => closed
 * resolution:   => invalid
 * version:  trunk =>
 * component:  General => I18N
 * milestone:  Awaiting Review =>


Comment:

 In English, a zero value is always followed by a plural form. Note that
 [https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html
 plural forms] can be adjusted per locale.

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


More information about the wp-trac mailing list