{
  "locale": "ru",
  "language": "Russian",
  "source": "CLDR plural rules",
  "note": "Rule expressions use CLDR plural-rule syntax: n is the absolute value of the source number, i its integer digits and v the count of visible fraction digits. Categories are selected by the FIRST matching rule; 'other' is always the fallback. Assert on the category returned for each sample value, not on any wording.",
  "categories": [
    "one",
    "few",
    "many",
    "other"
  ],
  "cardinal": {
    "one": "v = 0 and i % 10 = 1 and i % 100 != 11",
    "few": "v = 0 and i % 10 = 2..4 and i % 100 != 12..14",
    "many": "v = 0 and i % 10 = 0 or v = 0 and i % 10 = 5..9 or v = 0 and i % 100 = 11..14",
    "other": "(default — reached only by fractional values)"
  },
  "cardinalSamples": {
    "one": [
      1,
      21,
      31,
      101,
      1001
    ],
    "few": [
      2,
      3,
      4,
      22,
      23,
      24,
      102
    ],
    "many": [
      0,
      5,
      6,
      9,
      10,
      11,
      12,
      13,
      14,
      20,
      25,
      100,
      111
    ],
    "other": [
      0.5,
      1.0,
      1.5,
      10.0
    ]
  },
  "ordinal": {
    "other": "(default — Russian has a single ordinal category)"
  },
  "ordinalSamples": {
    "other": [
      1,
      2,
      3,
      5,
      11,
      21
    ]
  },
  "gettextPluralForms": "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);",
  "trap": "1 and 21 take the same form but 11 does not; a naive n==1 check gets 21 wrong."
}
