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

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
>> 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.

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

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.


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

Re: [libreoffice-l10n] Plural forms in PootleChristian Lohmaier <lohmaier+ooofuture@googlemail.com>
[libreoffice-l10n] Plural forms in Pootlesophi <sophi@libreoffice.org>
Re: [libreoffice-l10n] Plural forms in PootleMichael Wolf <milupo@sorbzilla.de>
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.