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

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

Plural forms for Slovak (SK) language


From: Peter Slacik
Subject: Plural forms for Slovak (SK) language
Date: Mon, 12 Jun 2006 16:35:02 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)


Hi "he"s (or maintainers of GNU gettext, I'm here the "she" according to the Introduction <http://www.gnu.org/software/gettext/manual/html_chapter/gettext_1.html#SEC1>),


last few months I'm playing a little bit with poEdit and I finally came across the definition of the plural forms field (10.2.5 Additional functions for plural forms <http://www.gnu.org/software/gettext/manual/html_chapter/gettext_10.html#SEC150>).

I represent the Slovak language population and I'd like to suggest different form of the "Plural-Forms:" definition for Slovak language.

I'm reading that:

   Three forms, special cases for numbers ending in 1 and 2, 3, 4,
   except those ending in 1[1-4]
       The header entry would look like this:

Plural-Forms: nplurals=3; \
   plural=n%10==1 && n%100!=11 ? 0 : \
          n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;

       Languages with this property include:

       Slavic family
Croatian, Czech, Russian, Slovak, Ukrainian I know that it's correct for e.g. the Czech language, but Slovak language behaves differently.

I've already written elsewhere, that:

   At least Slovak and Czech languages (and also Polish somehow
   similarly, but I don't know exactly; and the Russian one I don't
   remember exactly anymore, I tempt to say "like Czech") have two
   plural forms: 2,3,4 days are "dni/dny" and 5,6,7...18,19,20 days are
   "dní/dnu*".
   Difference: Slovak continues with "dní" to the infinity
   (,21,22,23...), whereas Czech followss the pattern "#1 den, #2,#3,#4
   dny, #5,#6...#9,#0 dnu*" in each decade (2#,3#...9#).
   Singular is off course one: "den(/den".

I hope I will modify the expression correctly, maybe you could bring me in contact with anyone who might disagree with me ;-)

   Three forms, special case for numbers one and 2, 3, 4
       The header entry would look like this:

Plural-Forms: nplurals=3; \
   plural=n==1 ? 0 : \
          n>=2 && n<=4 ? 1 : 2;

       Languages with this property include:

       Slavic family
           Slovak


With kind regards
Peter Slacik



reply via email to

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