[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libreoffice-l10n] Plural forms in Pootle

sophi schrieb:

and a table with the corresponding equation here:

Check that this table has no error and ask the equation to be added to
your language.
If you are not using Pootle, I guess it has to be added to the header of
your .po files.

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.

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
allows for translation already."

Kind regards,


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/
Privacy Policy: https://www.documentfoundation.org/privacy

Re: [libreoffice-l10n] Plural forms in Pootlesophi <sophi@libreoffice.org>
[libreoffice-l10n] Plural forms in Pootlesophi <sophi@libreoffice.org>
Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.