help when 'Plural' syntax is not accepted

Jump to navigation Jump to search

help when 'Plural' syntax is not accepted

Hi all, concerning following message => https://translatewiki.net/w/i.php?title=Special:Translate&showMessage=strings-profile_rephotos&group=ajapaik-app&language=fr

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 => https://translatewiki.net/wiki/Template:PLURAL/doc 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
 

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: Users.


You can view and copy the source of this page.

Return to Thread:Support/help when 'Plural' syntax is not accepted/reply (5).