Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is Turkish gettext plural form wrong? #23

Open
mlocati opened this issue Jan 16, 2015 · 4 comments
Open

Is Turkish gettext plural form wrong? #23

mlocati opened this issue Jan 16, 2015 · 4 comments

Comments

@mlocati
Copy link

mlocati commented Jan 16, 2015

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)

@mlocati mlocati mentioned this issue Mar 27, 2015
@erkanyildiz
Copy link

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

@mlocati
Copy link
Author

mlocati commented May 7, 2015

This should be fixed by #30

@ta2-1
Copy link

ta2-1 commented Jul 28, 2016

@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
Copy link
Author

mlocati commented Jul 29, 2016

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants