Plural and singluar for Tunisian
Hello, I'm having a small problem, I'm trying to make the translation respects Tunisian plural but I can't. I hope you can help me. For example, This page has been accessed $1 times. is translated to: Hel-pâj dexlûlhe marra/marrtîn/3-10 marrât/11-19 n-marra/20-... marra or, 11-19 can be merged with 20-...(which is easier, and not a problem) How can we do that?
Marra: once; Marrtîn: twice; .. Marrât: .. Times; .. Marra:.. Times;
Hi, I can suggest you this: Hel-pâj dexlûlhe {{#ifexpr: $1 = 1 | marra | {{#ifexpr: $1 = 2 | marrtîn | {{#ifexpr: $1 > 2 and $1 < 11 | marrât | {{#ifexpr: $1 > 10 and $1 < 20 | n-marra | {{#ifexpr: $1 > 19 | marra }} }} }} }} }}.
Umm.. it doesn't work. Two problems, first Expression error: Unrecognized punctuation character "$". and !!FUZZY!! is automatically added. [1]
This case of PLURAL system you're talking about is odd but my solution is good enough, of course you see a red error now becuase $1 is not a valid number, but all $1 will be replaced with correct number when mediawiki is using it. Second problem when you trying to edit it !!FUZZY!! will be added becuase I think {{PLURAL:}} was not used, you can either use it or just remove !!FUZZY!! part and save it. The other and better solution is using this: {{PLURAL:$1|marra|2=marrtîn|3=marrât|4=marrât|5=marrât|6=marrât|7=marrât|8=marrât|9=marrât|10=marrât|11=n-marra|12=n-marra|13=n-marra|14=n-marra|15=n-marra|16=n-marra|17=n-marra|18=n-marra|19=n-marra|20=marra}}.