help when 'Plural' syntax is not accepted

From Support
Jump to navigation Jump to search
Revision as of 26 March 2020 at 22:36.
The highlighted comment was edited in this revision. [diff]

help when 'Plural' syntax is not accepted

Hi all, concerning following message =>

I think a parameter $1 is missing as for the plurality but it is rejected saying it must be {PLURAL| ...

{{PLURAL:$1|zero=Vous n’avez encore fait aucune rephoto|one=<b>1</b> rephoto|<b>%1$d</b> rephotos}}

I cannot find the correct syntax. I checked it is ok with template => but cannot succeed; help please. Seems as if the original message was wrong (?). Thanks.

    ChristianW (talk)12:12, 23 March 2020

    As per CLDR data, French has only two plural forms. So the below should be enough,

    {{PLURAL|one=<b>1</b> rephoto|<b>%1$d</b> rephotos}}
      Abijeet Patro (talk)12:57, 26 March 2020

      The source string was just fixed yesterday by Ajapaik developers. The zero version is now a separate message.

        Nike (talk)13:03, 26 March 2020

        Sounds good now; in french 0 or 1 follow the same way, 2 and over start plural, so according to the number of books on the shelf you say

        Il n'y avait aucun livre sur l'étagère. 
        Il y avait zéro  livre   sur l'étagère.
        Il y avait un    livre   sur l'étagère.
        Il y avait deux  livres  sur l'étagère. 

        Thanks; done.

          ChristianW (talk)21:04, 26 March 2020