[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:29:09 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):
Doesn't the plural form system used in gettext already handle this?
https://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html
Plural forms can be defined in extremely complex ways without changing the
way that things like _n are defined. Doesn't seem like we need additional
logic in PHP to handle those cases.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34308#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list