Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Paucal rules may be wrong
Forum Updated to NodeBB v4.3 + New Features

Paucal rules may be wrong

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 391 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • PerdrixP Offline
    PerdrixP Offline
    Perdrix
    wrote on last edited by Perdrix
    #1

    As I understand it the Paucal form should be used in Czech, Romanian and other similar languages for:

    2-4, 22-24, 32-34... etc...

    But AFAICT Qt only applies those rules for 2-4 and not the larger values which just get treated as Plural.

    Have the rules for Paucal changed to only apply to 2, 3, 4

    David

    PerdrixP 1 Reply Last reply
    0
    • PerdrixP Perdrix

      As I understand it the Paucal form should be used in Czech, Romanian and other similar languages for:

      2-4, 22-24, 32-34... etc...

      But AFAICT Qt only applies those rules for 2-4 and not the larger values which just get treated as Plural.

      Have the rules for Paucal changed to only apply to 2, 3, 4

      David

      PerdrixP Offline
      PerdrixP Offline
      Perdrix
      wrote on last edited by
      #2

      Anyone on the language team ?

      C 1 Reply Last reply
      0
      • PerdrixP Perdrix

        Anyone on the language team ?

        C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        @Perdrix This is community forum, not direct channel to Qt development teams. Sometimes Qt Company staff will chip in but perhaps a polite query to the Developers mailing list will go further.

        The rules in lupdate:

        $ lupdate -list-languages
        ...
        Czech [Czechia]                          cs_CZ    nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);
        Romanian [Romania]                       ro_RO    nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);
        

        So, for Czech 1, 2 to 4, and greater than 4 are treated as three different groups for plural handling.
        Romanian is more complex. If n is not1 then it looks like zero and the first twenty numbers in each century are treated as paucal, everything else is plural.

        PerdrixP 1 Reply Last reply
        1
        • C ChrisW67

          @Perdrix This is community forum, not direct channel to Qt development teams. Sometimes Qt Company staff will chip in but perhaps a polite query to the Developers mailing list will go further.

          The rules in lupdate:

          $ lupdate -list-languages
          ...
          Czech [Czechia]                          cs_CZ    nplurals=3; plural=((n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2);
          Romanian [Romania]                       ro_RO    nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < 20)) ? 1 : 2);
          

          So, for Czech 1, 2 to 4, and greater than 4 are treated as three different groups for plural handling.
          Romanian is more complex. If n is not1 then it looks like zero and the first twenty numbers in each century are treated as paucal, everything else is plural.

          PerdrixP Offline
          PerdrixP Offline
          Perdrix
          wrote on last edited by
          #4

          @ChrisW67 👍

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved