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  
 
Category: Plural formsSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

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)

Explanation
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.

Anonymous

 

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 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 0 encouragements so far.

    Only logged-in users can vote.

     

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 27 Nov 2016 12:06:31 PM UTChaibleCategoryNone=>Plural forms

    Back to the top


    Powered by Savane 3.1-cleanup1