Change Arabic plural forms formula
Asked by
Khaled Hosny
The current plural forms formula in launchpad is "n == 1 ? 0 : n == 2 ? 1 : 2" which I haven't seen used any where before, and is wrong, and I believe it caused corruption of Gnome translations since upstream PO files were using different formula.
Arabic has more complicated plural forms. The formula that we (at Arabeyes.org) agreed on is "nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;".
We already switched to this formula in Gnome and KDE and other projects should follow. What is the possibility to change this in rosetta as well?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Khaled Hosny for more information if necessary.
To post a message you must log in.