Page MenuHomePhabricator

javascript side plural feature does not support explicit plural forms
Closed, ResolvedPublic

Description

Gerrit change 23943 had added support for explicit plural forms like n=form
(eg: There {{plural:$1| is one car| are $1 cars|0=are no cars|12=are a dozen cars}} ). See http://www.mediawiki.org/wiki/Localisation#.E2.80.A6on_numbers_via_PLURAL for more description.

But this is not currently supported in javascript side.

There {{plural:$1|is one car|are $1 cars|0=are no cars|12=are a dozen cars}}
with 12 should give "There are a dozen cars"

Now we get "There are 12 cars"


Version: unspecified
Severity: normal

Details

Reference
bz51284

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:51 AM
bzimport set Reference to bz51284.

Gerrit 73567 has a patch for this bug(gerrit did not update bug automatically)

Change 73567 merged by jenkins-bot:
Support explicit plural forms at client side l10n

https://gerrit.wikimedia.org/r/73567