Last modified: 2012-09-15 04:49:49 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 T42250, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40250 - plural: broken in Vietnamese (CLDR?)
plural: broken in Vietnamese (CLDR?)
Status: RESOLVED DUPLICATE of bug 40251
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.20.x
All All
: Unprioritized major (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: plural
  Show dependency treegraph
 
Reported: 2012-09-14 11:15 UTC by Minh Nguyễn
Modified: 2012-09-15 04:49 UTC (History)
8 users (show)

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


Attachments

Description Minh Nguyễn 2012-09-14 11:15:06 UTC
Change I58a9cdfe60c7b9027bf031c91370472054f04ae2 made MediaWiki rely on CLDR data for plural rules (see languages/data/plurals.xml). CLDR apparently lists Vietnamese as having no plurals. While it’s true that Vietnamese doesn’t inflect for plurals, the language does absolutely have the concept of plural number. Plurals are typically marked by “các” or “những” in front of the noun.

MediaWiki’s Vietnamese localization uses the plural: magic word extensively, just as the English localization does, to add these markers in the “many” case or omit the number 1 in the “one” case. These usages are now broken throughout the interface. The rules for Vietnamese should be overwritten in plurals-mediawiki.xml to be identical to that of English:

<pluralRule count="one">n is 1</pluralRule>

Please note this requirement when implementing the JavaScript plural parser.
Comment 1 Dereckson 2012-09-14 13:39:12 UTC
Adding bug 38781 as tracking bug.
Comment 2 Niklas Laxström 2012-09-14 16:26:04 UTC
Please start the process of getting it fixed in CLDR and we will add override for the time being.

FYI: JavaScript plural parser is already implemented.
Comment 3 Niklas Laxström 2012-09-14 16:41:47 UTC
https://gerrit.wikimedia.org/r/23792
Comment 4 Alexandre Emsenhuber [IAlex] 2012-09-14 16:49:18 UTC
And merged.
Comment 5 Minh Nguyễn 2012-09-14 19:13:04 UTC
Actually, I don’t think any changes to CLDR are necessary. See my justification at bug 40251 comment 5.
Comment 6 Niklas Laxström 2012-09-15 04:49:49 UTC

*** This bug has been marked as a duplicate of bug 40251 ***

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


Navigation
Links