Last modified: 2013-07-16 09:27:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53284, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51284 - javascript side plural feature does not support explicit plural forms
javascript side plural feature does not support explicit plural forms
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Santhosh Thottingal
: i18n
Depends on:
Blocks: plural
  Show dependency treegraph
 
Reported: 2013-07-13 11:09 UTC by Santhosh Thottingal
Modified: 2013-07-16 09:27 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Santhosh Thottingal 2013-07-13 11:09:47 UTC
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"
Comment 1 Santhosh Thottingal 2013-07-15 11:27:47 UTC
Gerrit change #73567 has a patch for this bug(gerrit did not update bug automatically)
Comment 2 Gerrit Notification Bot 2013-07-16 07:23:54 UTC
Change 73567 merged by jenkins-bot:
Support explicit plural forms at client side l10n

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links