[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    plurals in Russian
From:       Gregory Mokhin <mokhin () bog ! msu ! ru>
Date:       2001-04-04 8:59:53
[Download RAW message or body]

Stephan, ruleset for Russian is incorrect. It should be this way:

Three forms:

 ( n%10 == 1 && n%100 != 11 ) - "fail",
 ( n%10 >=2 && n%10 <= 4 ) && ( n%100 < 10 || n%100 > 20 ) - "faila",
  any other n - "failov"

Examples:
a) 1, 21, 31, ... fail
## (n%10==1 with exception of 11, 111, 211 ..., that is "failov")
b) 2, 3, 4, 22, 23, 24, 32, 33 ... faila
## (n%10==2,3, or 4 with exception of 12, 13, 14, 112, 113, 114, 212 ..., that is "failov")
c) whatever else is "failov"

Grisha

> Plural-Forms: nplurals=3; \
>   plural=n==1 ? 0 : n%10>=2 && n%10<=4 ? 1 : 2;

> Three forms, special case for one and all numbers ending in 2, 3, or 4
>      The header entry would look like this:
>  
>           Plural-Forms: nplurals=3; \
>                         plural=n==1 ? 0 : n%10>=2 && n%10<=4 ? 1 : 2;
>  
>      Languages with this property include:
>  
>     Slavic family
>           Russian

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic