Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+4 votes
410 views
in Q2A Core by

When I was a translator of Ubuntu Arabic Team

We deal with plural forms in a way that is suitable to each language:

In Arabic (may others too) it is not just addin an "s" to if the number is more than 1.

We have singular represents 1 element.

We have (may i can call it) daul represents 2 elements. (but it is not like the plural form just adding s)

We have more than 3 which represents plural.

 

Here is a rule for Ubuntu to translate plural forms and this rule only for Arabic (as I recall):

We call it (GNU Plural Header):

nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5;

 

I wish we have something like that in Q2A.

Q2A version: 1.6.1

Please log in or register to answer this question.

...