How can we represent Russian in ICU MessageFormat given the unusual nature of the pluralization rules?
MessageFormat supports pluralization like {arg, plural, =1 {one} other {other}}
and more complex {arg, plural, =0 {none} =1 {one} =2 {few} other {several}}
.
However, sometimes the text to use cannot be directly determined by the number without some calculations; how do we do that? Russian has three plural rules based on the last digit in the number with exceptions for 11-14.
Info I've reviewed:
Russian language pluralization
http://www.russianlessons.net/lessons/lesson11_main.php
MessageFormat Rules
http://userguide.icu-project.org/formatparse/messages
Number of plural rules for various languages
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals