[haiku-bugs] Re: [Haiku] #10755: Plural forms support in Locale Kit

  • From: "beos_zealot" <trac@xxxxxxxxxxxx>
  • Date: Mon, 14 Apr 2014 08:01:04 -0000

#10755: Plural forms support in Locale Kit
-------------------------------+----------------------------
   Reporter:  KapiX            |      Owner:  pulkomandy
       Type:  enhancement      |     Status:  new
   Priority:  normal           |  Milestone:  R1
  Component:  Kits/Locale Kit  |    Version:  R1/Development
 Resolution:                   |   Keywords:
 Blocked By:                   |   Blocking:
Has a Patch:  0                |   Platform:  All
-------------------------------+----------------------------

Comment (by beos_zealot):

 Similar rules applies to Lithuanian language:

 Pažymėtas 1 objektas
 Pažymėti 2-9 objektai
 Pažymėta 10-20 objektų
 Pažymėtas 21 objektas
 Pažymėti 22-29 objektai
 Pažymėta 30 objektų
 Pažymėtas 31 objektas
 Pažymėti 32-39 objektai
 Pažymėta 40 objektų
 ...

 nplurals=3 *

 plural=0 means ending '-as'
 plural=1 means ending '-ai'
 plural=2 means ending '-ų'


 (*) http://localization-
 guide.readthedocs.org/en/latest/l10n/pluralforms.html
 lt / Lithuanian / nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2
 && (n%100<10 or n%100>=20) ? 1 : 2);

--
Ticket URL: <https://dev.haiku-os.org/ticket/10755#comment:6>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: