Thread:Portal talk:Ru/Plural changes in many languages

Russian and languages having Russian as fallback

MediaWiki's plural rules have been updated to CLDR 24. We use these to be standard-compliant. CLDR 24 introduces some changes in the Russian plural forms. The changes are applicable to all languages that do not define explicit plural forms in CLDR and fall back to Russian.

The language codes affected are: ab, av, ba, bxr, ce, crh_cyrl, cv, inh, koi, krc, kv, lbe, lez, mhr, mrj, myv, ru, tt_cyrl, tyv, udm, xal

Russian used to have 3 plural forms, defined as follows:


 * Form 1: singular form. Examples: 1, 21, 31, 41...
 * Form 2: paucal form. Examples 2, 3, 4, 22, 23, 24, 32, 33, 34...
 * Form 3: plural form. Examples 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 25, 26...

This has changed to:


 * Form 1: 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …
 * Form 2: 0, 5, 6, 7,8,...18, 19, 100, 1000, 10000, 100000, 1000000, …
 * Form 3: 2, 3, 4, 22, 23, 24, 32, 33, 34, 42, 43, 44, 52, 53, 54, 62, 102, 1002, …

Effectively, this means, plural form 2 is now form 3, and plural form 3 is now form 2. Example:

$1 NaN страницs

Russian, languages having Russian as fallback, Serbian, Ukrainian and Belarusian

There used to be a special case where translators could supply only 2 plural forms. The first one would be used only for the case of 1 and the second for all other numbers. This special case has been merged with the explicit number plural forms. From now on, when NaN undefineds is uses two forms, the first form will be used for 1, 21, 31 etc., and the second for all other numbers. To get the same functionality as before, use the following syntax:


 * be-tarask: NaN undefineds
 * ru: NaN undefineds
 * sr: NaN undefineds
 * uk: NaN undefineds

We updated existing messages to use the new formats. We have also marked them as outdated, so please correct and review them as soon as possible. Please mind the above mentioned changes when making new translations.

Thank you for your help!