https://bugzilla.wikimedia.org/show_bug.cgi?id=40250

       Web browser: ---
             Bug #: 40250
           Summary: plural: broken in Vietnamese (CLDR?)
           Product: MediaWiki
           Version: 1.20-git
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Internationalization
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to