Closed antonkomarev closed 8 years ago
Mmmh interesting, so if I understand well, in some languages count == 1 and count > 1 are not the only possibilities?
However, all european languages (English, Italian, Spanish, French etc.) should have
return (count == 1) ? 0 : 1;
in thier cases in the switch. Are you sure the wa, uk, sk, ga, lt etc.. cases are correct?
@micheleangioni you can re-check it yourself. I've just transformed Laravel's code to Javascript.
In Russian language there are 1 singular form and +2 plural forms. In Arabic language even more.
uk
locale is Ukrainian and as I know it's pretty close to Russian.
Ok @a-komarev , I'll work on that in the following days!
Full description of PR in issue #1