Language code |
ar |
Text direction |
Right to left |
4
Plural: Default plural
|
Number of plurals |
6 |
Plural type |
Arabic languages |
Plurals |
Zero |
0 |
One |
1 |
Two |
2 |
Few |
3, 4, 5, 6, 7, 8, 9, 10, 103, 104 |
Many |
11, 12, 13, 14, 15, 16, 17, 18, 19, 20 |
Other |
100, 101, 102, 200, 201, 202, 300, 301, 302, 400 |
Plural equation |
n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5 |
1
Plural: Gettext plural formula
|
Number of plurals |
4 |
Plural type |
One/two/few/other |
Plurals |
One |
1 |
Two |
2 |
Few |
20, 30, 40, 50, 60, 70, 80, 90, 100, 110 |
Other |
0, 3, 4, 5, 6, 7, 8, 9, 10, 11 |
Plural equation |
(n == 1) ? 0 : ((n == 2) ? 1 : ((n > 10 && n % 10 == 0) ? 2 : 3)) |