re: What do American developers get wrong about internationalization? VIEW POST

FULL DISCUSSION
 

English

// 1  : thing
// >1 : things

Russian

// 1        : штука
// 2 to 4   : штуки
// 5 to 20  : штук
// 21       : штука
// 22 to 24 : штуки
// 25 to 30 : штук
// 31       : штука
...
 

Arabic

// 1  شيئ
// 2 شيئان
// 3 أشياء

not to mention that Arabic is gender-sensitive language

 

Romanian

//   1        : tigru    [ tiger ]
//   2 to  19 : tigri    [ tigers ]
//  20 to 100 : de tigri [ tigers ]
// 101 to 119 : tigri    [ tigers ]
// 120 to 200 : de tigri [ tigers ]
...

The formula for PO files we use is:

Plural-Forms: nplurals=3;plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1))\n
 
code of conduct - report abuse