• [^] # Re: russe

    Posté par . En réponse au journal Progrès dans l'équipe de traduction du jeu Wormux. Évalué à 3.

    Dans la doc de gettext justement, ils expliquent tout ça:
    http://www.gnu.org/software/gettext/manual/html_chapter/gett(...)

    Three forms, special cases for numbers ending in 1 and 2, 3, 4, except those ending in 1[1-4]
    The header entry would look like this:

    Plural-Forms: nplurals=3; \
    plural=n%10==1 && n%100!=11 ? 0 : \
    n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;

    Languages with this property include:

    Slavic family
    Croatian, Czech, Russian, Slovak, Ukrainian
    ----

    Et il y a pire:
    In Polish we use e.g. plik (file) this way:
    1 plik
    2,3,4 pliki
    5-21 pliko'w
    22-24 pliki
    25-31 pliko'w

    Heureux les hongrois...