From kde-i18n-doc Mon Apr 02 21:40:43 2001 From: Stephan Kulow Date: Mon, 02 Apr 2001 21:40:43 +0000 To: kde-i18n-doc Subject: Re: plural handling X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=98624782522354 Roman Maurer wrote: > > Stephan Kulow wrote: > > > > Four forms, special case for one and all numbers ending in 2, 3, or 4 > > The header entry would look like this: > > > > Plural-Forms: nplurals=4; \ > > plural=n==1 ? 0 : \ > > n%10==2 ? 1 : n%10==3 || n%10==4 ? 2 : 3; > > > > Languages with this property include: > > > > Slavic family > > Slovenian > > I'm afraid that's not quite it for Slovenian. Our language > computes singular, dual or plural forms regarding to "mod 100", > not "mod 10": > > The same expression is for (BTW, "datoteka" means "file"): > > n%100==1: > 1 datoteka, 101 datoteka, 201 datoteka, ... > > n%100==2: > 2 datoteki, 102 datoteki, 202 datoteki, ... > > n%100==3 or n%100==4: > 3 datoteke, 4 datoteke, 103 datoteke, 1003 datoteke, ... > > otherwise: > 0 datotek, 5 datotek, 6 datotek, 10 datotek, > 11 datotek, 99 datotek, 100 datotek, > 105 datotek, 1005 datotek, etc. Thanks for all the input. Greetings, Stephan -- Teigwaren heissen Teigwaren, weil sie Teig waren * J. v. d. Lippe MFCH