bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bug in Slovak plural forms


From: Bruno Haible
Subject: Re: Bug in Slovak plural forms
Date: Tue, 27 May 2003 23:55:15 +0200 (CEST)

Marcel Telka writes:
> For Slovak language it should be (cite from glibc documentation `info libc`):
> 
> =================================================================
> Three forms, special cases for 1 and 2, 3, 4
>      The header entry would look like this:
> 
>           Plural-Forms: nplurals=3; \
>               plural=(n==1) ? 1 : (n>=2 && n<=4) ? 2 : 0;
> 
>      Languages with this property include:
> 
>     Slavic family
>           Slovak
> =================================================================

I prefer to use the formula

      plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;

so that msgstr[0] corresponds to the singular form and
msgstr[nplurals-1] to the main plural form.
1) for consistency with the other plural formulas,
2) because that's likely to be most natural for the translators.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]