[Koha-translate] Sinhala: need to know how plurals work and to define it in the translation platform config

R45XvezA R45XvezA at protonmail.ch
Wed Jun 29 12:38:15 CEST 2022


.............
@Sinhala speakers: how does plural work?
...................

Sinhala plural form: one, other

Plural forms:
one, other
one, two, other
one, few, other
one, few, many, other
one, two, few, other
one, two, few, many, other
zero, one, other
zero, one, two, few, many, other
other

credits: https://crowdin.com/

------- Original Message -------
On Monday, June 27th, 2022 at 9:28 PM, Victor Grousset/tuxayo <victor at tuxayo.net> wrote:


> Hi,
>
> When releasing the latest Koha in the 21.05.x series, an automated check
> complains about nplurals not being defined.
>
> in si-messages-js.po
> "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
> note: Plural-Forms seems to be only in this file and not in master, it's
> in 21.05.x branch.
>
> @Sinhala speakers: how does plural work?
> How many forms are there and what are the rules?
> For example some languages have sigular and three plurals.
> With the 1st plural form being used when there are two elements.
> With the 2nd plural form being used when there are between 3 and 5 elements.
> With the 3rd plural form being used when there are between 5 and more
> elements.
>
> @Bernardo maybe there is somewhere already the info for .po file for
> Sinhala?
> Or maybe we do like the other files and Koha branches where the
> Plural-Forms head isn't there? But how like plural translations work then?
>
> Cheers,
>
> --
> Victor Grousset/tuxayo


More information about the Koha-translate mailing list