translate / l10n-guide

Localisation guide
https://docs.translatehouse.org/projects/localization-guide/
56 stars 68 forks source link

Is Turkish gettext plural form wrong? #23

Open mlocati opened 9 years ago

mlocati commented 9 years ago

I think that in https://github.com/translate/l10n-guide/blob/master/docs/l10n/pluralforms.rst the plural form for Turkish is wrong: nplurals=2; plural=(n > 1);

I don't know Turkish, but it seems to me that it should be like the one described in gettext source code (nplurals=2; plural=(n != 1);) and in CLDR v26 (where, with a slightly different definition, we have pluralRule-count-one: n = 1)

erkanyildiz commented 9 years ago

You are right. It should be nplurals=1; plural=0; for Turkish.

mlocati commented 9 years ago

This should be fixed by #30

ta2-1 commented 8 years ago

@mlocati @erkanyildiz afaict nplurals=1; plural=0; this is the right gettext plural form for Turkish. But it differs from nplurals=2; plural=(n != 1); that is in #30.

mlocati commented 8 years ago

faict nplurals=1; plural=0; this is the right gettext plural form Turkish

@ta2-1 So, the Unicode CLDR rule is wrong?