๐Ÿ”

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} ื”ืฉืื™ืจ ื”ื–ืžื ื” ืœืงื•ื“ ื–ื”ืืฃ ืื—ื“ ืœื ื”ืฉืื™ืจ ื”ื–ืžื ื” ืœืงื•ื“ ื–ื” %{count} ื”ืฉืื™ืจื• ื”ื–ืžื ื” ืœืงื•ื“ ื–ื”
    zeroThis plural form is used for numbers like: 0

    ืืฃ ืื—ื“ ืœื ื”ืฉืื™ืจ ื”ื–ืžื ื” ืœืงื•ื“ ื–ื” 


    oneThis plural form is used for numbers like: 1

    %{count} ื”ืฉืื™ืจ ื”ื–ืžื ื” ืœืงื•ื“ ื–ื”


    otherThis plural form is used for numbers like: everything else

    %{count} ื”ืฉืื™ืจื• ื”ื–ืžื ื” ืœืงื•ื“ ื–ื” 


    changed by Tsfir .
    Copy to clipboard
  2. %{count} ื”ืฉืื™ืจ ื”ื–ืžื ื” ืœืงื•ื“ ื–ื”ืืฃ ืื—ื“ ืœื ื”ืฉืื™ืจ ื”ื–ืžื ื” ืœืงื•ื“ ื–ื” %{count} ื”ืฉืื™ืจื• ื”ื–ืžื ื” ืœืงื•ื“ ื–ื”
    zeroThis plural form is used for numbers like: 0

    ืืฃ ืื—ื“ ืœื ื”ืฉืื™ืจ ื”ื–ืžื ื” ืœืงื•ื“ ื–ื” 


    oneThis plural form is used for numbers like: 1

    %{count} ื”ืฉืื™ืจ ื”ื–ืžื ื” ืœืงื•ื“ ื–ื”


    otherThis plural form is used for numbers like: everything else

    %{count} ื”ืฉืื™ืจื• ื”ื–ืžื ื” ืœืงื•ื“ ื–ื” 


    changed by Jonne HaรŸ .
    Copy to clipboard
  3. ื ื•ืชืจื• ื”ื–ืžื ื” ืื—ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”ืœื ื ื•ืชืจื• ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”ื ื•ืชืจื• %{count} ืขื‘ื•ืจ ืงื•ื“ ื–ื”
    zeroThis plural form is used for numbers like: 0

    ืœื ื ื•ืชืจื• ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”


    oneThis plural form is used for numbers like: 1

    ื ื•ืชืจื• ื”ื–ืžื ื” ืื—ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”


    otherThis plural form is used for numbers like: everything else

    ื ื•ืชืจื• %{count} ืขื‘ื•ืจ ืงื•ื“ ื–ื”


    changed by Itai .
    Copy to clipboard
  4. ื ื•ืชืจื• ื”ื–ืžื ื” ืื—ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”ืœื ื ื•ืชืจื• ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”ื ื•ืชืจื• %{count} ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”
    zeroThis plural form is used for numbers like: 0

    ืœื ื ื•ืชืจื• ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”


    oneThis plural form is used for numbers like: 1

    ื ื•ืชืจื• ื”ื–ืžื ื” ืื—ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”


    otherThis plural form is used for numbers like: everything else

    ื ื•ืชืจื• %{count} ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”


    changed by Itai .
    Copy to clipboard
  5. ื ื•ืชืจื• ื”ื–ืžื ื” ืื—ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”ืœื ื ื•ืชืจื• ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”ื ื•ืชืจื• %{count} ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”
    zeroThis plural form is used for numbers like: 0

    ืœื ื ื•ืชืจื• ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”


    oneThis plural form is used for numbers like: 1

    ื ื•ืชืจื• ื”ื–ืžื ื” ืื—ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”


    otherThis plural form is used for numbers like: everything else

    ื ื•ืชืจื• %{count} ื”ื–ืžื ื•ืช ืขื‘ื•ืจ ืงื•ื“ ื–ื”


    changed by Itai .
    Copy to clipboard