bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] [bug #45591] Slovenian plural string to be changed in docu


From: Michele Locati
Subject: [bug-gettext] [bug #45591] Slovenian plural string to be changed in documentation
Date: Thu, 30 Aug 2018 06:25:17 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0

Follow-up Comment #16, bug #45591 (project gettext):

> We tried to find a single, simple and general rule for all languages covered
by gettext. In the system we have, the singular form is assigned to the first
element in the array, and all the others follow. The first element of the
array happens to be indexed by 0.

Primoz: what did you adopt for languages that have a plural form for "zero"
(like Arabic for example)?

Personally I adopted the order 'zero', 'one', 'two', 'few', 'many', 'others'.
So, if a language has only 'one' and 'other' (like English), we'd have that
* index 0 is 'one'
* index 1 is 'others'
If a language has only 'one', 'two', 'few', 'other' (like Slovenian), we'd
have
* index 0 is 'one'
* index 1 is 'two'
* index 2 is 'few'
* index 3 is 'other'

If a language has all the cases, we'd have
* index 0 is 'zero'
* index 1 is 'one'
* index 2 is 'two'
* index 3 is 'few'
* index 4 is 'many'
* index 5 is 'other'


And PS: I think that adding headers describing the plural cases would be very
helpful - see
http://lists.gnu.org/archive/html/bug-gettext/2015-02/msg00018.html

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45591>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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