help when 'Plural' syntax is not accepted

From Support
Jump to navigation Jump to search
Revision as of 28 March 2020 at 02:22.
The highlighted comment was created in this revision.

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

          You're lucky in that someone is even willing to listen to you. I've been trying to correct the Portuguese plural for years to no avail, despite the fact that even CLDR agrees with me. The first thing that they usually throw back at you is that you need to convince CLDR. Once you point out that CLDR is already correct and convinced, and agrees with you, and MediaWiki is wrong, they'll push onto you the job of correcting it yourself.

            Hamilton Abreu (talk)02:22, 28 March 2020