🔁

Plural segments

Discussion started , with 4 comments.
  1. Olivier French Translator with all proofreading rights

    Hello,
    Why are there only 3 possibilities in the french plural segment : "one" -> n = 0..1 (!), zero and many? Wouldn't it be possible to refine this, as in english?

  2. Jonne Haß Manager

    The rule in the latest CLDR[1] even only uses one and other, so it should be possible to express everything you need.

    [1] http://unicode.org/repos/cldr-tmp/trunk/diff/supplemental/language_plural_rules.html

  3. Olivier French Translator with all proofreading rights

    Sure, but what I don't understand is why there are 6 entries in english language and only 3 in french.

  4. Jonne Haß Manager

    That has kinda historical reasons. Back at 99translations there was no automatic support for pluralization so we had to provide all possible keys in order to be compatible to all languages. With WebTranslateIt it's theoretically not necessary anymore, maybe I'll refactor that out one day (or someone else does).

  5. Olivier French Translator with all proofreading rights

    Thanks for your explanation ; I do understand now ;-)


History

  1. %{count} invites left on this codeOne invite left on this code%{count} invites left on this code%{count} invites left on this codeNo invites left on this code%{count} invites left on this code
    zeroThis plural form is used for numbers like: 0

    No invites left on this code


    oneThis plural form is used for numbers like: 1

    One invite left on this code


    otherThis plural form is used for numbers like: everything else

    %{count} invites left on this code


    changed by Jonne Haß .
    Copy to clipboard
  2. One invite left on this codeNo invites left on this code%{count} invites left on this code
    zeroThis plural form is used for numbers like: 0

    No invites left on this code


    oneThis plural form is used for numbers like: 1

    One invite left on this code


    otherThis plural form is used for numbers like: everything else

    %{count} invites left on this code


    changed by Jonne Haß .
    Copy to clipboard
  3. One invite left on this codeNo invites left on this code%{count} invites left on this code
    zeroThis plural form is used for numbers like: 0

    No invites left on this code


    oneThis plural form is used for numbers like: 1

    One invite left on this code


    otherThis plural form is used for numbers like: everything else

    %{count} invites left on this code


    changed by Jonne Haß via a Batch Operation.
    Copy to clipboard
  4. %{count} pozvánky zbývájí pro tento kódJedna pozvánka zbývá pro tento kódNezbývá žádná pozvánka pro tento kód%{count} pozvánek zbývá pro tento kód
    %{count} pozvánky zbývájí pro tento kódJedna pozvánka zbývá pro tento kódNezbývá žádná pozvánka pro tento kód%{count} pozvánek zbývá pro tento kód
    ZeroThis plural form is used for numbers like: 0

    Nezbývá žádná pozvánka pro tento kód


    oneThis plural form is used for numbers like: n is 1

    Jedna pozvánka zbývá pro tento kód


    fewThis plural form is used for numbers like: n in 2..4

    %{count} pozvánky zbývájí pro tento kód


    otherThis plural form is used for numbers like: everything else

    %{count} pozvánek zbývá pro tento kód


    changed by Mirek2 .
    Copy to clipboard
  5. %{count} pozvánky zbývájí pro tento kódJedna pozvánka zbývá pro tento kódNezbývá žádná pozvánka pro tento kód%{count} pozvánek zbývá pro tento kód
    %{count} pozvánky zbývájí pro tento kódJedna pozvánka zbývá pro tento kódNezbývá žádná pozvánka pro tento kód%{count} pozvánek zbývá pro tento kód
    ZeroThis plural form is used for numbers like: 0

    Nezbývá žádná pozvánka pro tento kód


    oneThis plural form is used for numbers like: n is 1

    Jedna pozvánka zbývá pro tento kód


    fewThis plural form is used for numbers like: n in 2..4

    %{count} pozvánky zbývájí pro tento kód


    otherThis plural form is used for numbers like: everything else

    %{count} pozvánek zbývá pro tento kód


    changed by David Voňka .
    Copy to clipboard