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 forms Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned 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)

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
  • -email is unavailable- added by beernarrd (Voted in favor of this item)
  • -email is unavailable- added by beernarrd (Posted a comment)
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by ueno (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-26 beernarrd Carbon-Copy- => Added beernarrd
    2016-11-27 haible CategoryNone => Plural forms

    Back to the top


    Powered by Savane 3.3