bugGNU gettext - Bugs: bug #45591, Slovenian plural string to be...


You are not allowed to post comments on this tracker with your current authentication level.

bug #45591: Slovenian plural string to be changed in documentation

Submitted by:  None
Submitted on:  Mon 20 Jul 2015 09:41:28 PM UTC  
Votes:  10  
Category: Plural formsSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Thu 25 Jan 2018 09:53:54 PM UTC, comment #3:

Clarification using unicode CLRD table:

We want to have this (for at least 16 years, actually):
msgid[0] = CLRD other {0, 5..100, 105..200, ...}
msgid[1] = CLRD one {1, 101, 201, ...}
msgid[2] = CLRD two {2, 102, 202, ...}
msgid[3] = CLRD few {3,4; 103,104...}

Bernard Banko <beernarrd>
Thu 25 Jan 2018 06:15:10 PM UTC, comment #2:

The topic reappears on other opensource projects because they refere to GNU gettext documentation. See https://github.com/translate/l10n-guide/issues/22

We need to change from:

to this:

Bernard Banko <beernarrd>
Mon 03 Aug 2015 06:30:54 AM UTC, comment #1:

> 2) msgid(n) index corresponds to gramatical number:
> msgid[1] for 1 apple, msgid[2] for 2 apples .. msgid[0] for 0 or 5 and more apples.

This is not true for Germanic languages whose plural form is:

Plural-Forms: nplurals=2; plural=n != 1;

where msgid[0] is used if n == 1.

I agree with the change nevertheless, if the rule is already widely used.

Daiki Ueno <ueno>
Project Administrator
Mon 20 Jul 2015 09:41:28 PM UTC, original submission:

Slovenian has for historical reasons two plural-forms strings in circulation. The one cited it gettext documentation should be deprecated.

The good one is:
nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 or n%100==4 ? 3 : 0)

1) Used at least since 2001 (http://web.archive.org/web/20060507045614/http://old_www.lugos.si/arhiv/prispevki/gettext/)
2) msgid(n) index corresponds to gramatical number:
msgid[1] for 1 apple, msgid[2] for 2 apples .. msgid[0] for 0 or 5 and more apples.
3) Recommended in slovenian linux users group, Gnome localisation, Launchpad.



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by beernarrd (Voted in favor of this item)
  • -unavailable- added by beernarrd (Posted a comment)
  • -unavailable- added by haible (Updated the item)
  • -unavailable- added by ueno (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 10 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 26 Jan 2018 06:03:19 PM UTCbeernarrdCarbon-Copy-=>Added beernarrd
    Sun 27 Nov 2016 12:06:31 PM UTChaibleCategoryNone=>Plural forms

    Back to the top

    Powered by Savane 3.1-cleanup1