# Re: [libreoffice-l10n] Plural forms in Pootle

Hi Michael,
Le 30/10/2018 à 21:17, Michael Wolf a écrit :
> sophi schrieb:
>
>> and a table with the corresponding equation here:
>> http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html
>>
>>
>> Check that this table has no error and ask the equation to be added to
>> If you are not using Pootle, I guess it has to be added to the header of
>>
> Hi Sophie,
>
> in the list behind the link above Upper Sorbian and Lower Sorbian are
> missing. But they are in the CLDR list.
>
> This applies to both Sorbian languages:
>
> nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ?
> 3 : 0);
>
>
> This is the system:
>
> 1, 101, 201, 301, etc. --> Nominative/Accusative singular
> 2, 102, 202, 302, etc. --> Nominative/Accusative dual
> 3/4, 103/104, 203/204, 303/304, etc. --> Nominative/Accusative plural
> 0, 5-100, 105-200, 205-300, 305-400, etc. --> Genitive plural
>
> Decisive is the last digit, with decimal numbers as well. If the last
> digit behind the comma (in English: point) is 1 then
> nominative/accusative singular, if it is 2 nominative/accusative dual
> and so on.
>
> So, both Sorbian languages have 4 forms and the same rules.

Not simple ;-)
>
> Christian already knows about that. He enabled it on Pootle that I can
> translate the strings with plural forms. Before there was no translation
> text box because Pootle didn't know the Sorbian plural rules.
>
> He wrote me: "Set it to four plural forms without explicitly listing the
> equation - that

Thanks for letting me know, and yes, it seems it's enough to add the
number of plurals and let plural equation field blank to be able to
translate in Pootle.

Cheers
Sophie

--
Sophie Gautier sophie.gautier@documentfoundation.org
GSM: +33683901545
IRC: sophi
Release coordinator
The Document Foundation

--
To unsubscribe e-mail to: l10n+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/l10n/

 Re: [libreoffice-l10n] Plural forms in Pootle Christian Lohmaier
 [libreoffice-l10n] Plural forms in Pootle sophi Re: [libreoffice-l10n] Plural forms in Pootle Michael Wolf