Re: [libreoffice-l10n] Plural forms in Pootle

2018-10-30 Thread Michael Wolf

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.

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,

Michael

--
To unsubscribe e-mail to: l10n+unsubscr...@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


[libreoffice-l10n] Re: plural forms translation, ngettext

2018-10-30 Thread Caolán McNamara
On Tue, 2018-10-23 at 12:36 +0200, Christian Lohmaier wrote:
> No issue with pootle, but pocheck needs to be taught to deal with it.

Ah, https://gerrit.libreoffice.org/#/c/62637/ conflicted because this
is already dealt with :-)


-- 
To unsubscribe e-mail to: l10n+unsubscr...@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 Pootle

2018-10-30 Thread Danylo Korostil

On 10/30/18 3:10 PM, sophi wrote:

Check that this table has no error and ask the equation to be added to
your language.


Thanks! I've sent a pull request for my locale: 
https://github.com/translate/l10n-guide/pull/73



--
To unsubscribe e-mail to: l10n+unsubscr...@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


[libreoffice-l10n] Plural forms in Pootle

2018-10-30 Thread sophi
Hi all,

It seems some language settings in Pootle are missing the plural form
now that it has been added to master.
If so, please send a mail here (instead of in Pootle) and indicate the
plural form that would work for your language.
There is a listing of plural forms here:
http://www.unicode.org/cldr/charts/30/supplemental/language_plural_rules.html

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.

For me, when translating FR strings with plural forms, it gives a
critical error, I guess we will have to adapt pocheck script. But
Christian is on vacation this week, so I'll see with him when he is back.

Thanks in advance
Cheers
Sophie
-- 
Sophie Gautier sophie.gaut...@documentfoundation.org
GSM: +33683901545
IRC: sophi
Release coordinator
The Document Foundation

-- 
To unsubscribe e-mail to: l10n+unsubscr...@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