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

zero is not permitted as pluralized form for English #21

Open
DawnWright opened this issue Sep 28, 2015 · 5 comments
Open

zero is not permitted as pluralized form for English #21

DawnWright opened this issue Sep 28, 2015 · 5 comments

Comments

@DawnWright
Copy link

We require the ability to add a {zero} pluralized form for English, which is distinct from {other}. Smartling's library only allows the required forms to be specified ({one} and {other}, for English).

The CLDR encourages use of such optional forms, for more natural language:

The minimal pairs are those that are required for correct grammar. So because 0 and 1 don't have to form a minimal pair (it is ok—even though often not optimal—to say "0 people") , 0 doesn't establish a separate category. However, implementations are encouraged to provide the ability to have special plural messages for 0 in particular, so that more natural language can be used:

  • None of your friends are online.
    rather than
  • You have 0 friends online.

http://cldr.unicode.org/index/cldr-spec/plural-rules

But Smartling's library does not support this CLDR recommendation.

By not supporting this, apps are forced to either not use the Smartling library, or special-case the zero form in code, which in turn will cause the zero form to break in languages where zero is required.

I noticed this issue was discussed a year and a half ago here, and would like to see this issue revisited.

@vitalybaev
Copy link

As I tested, zero rule doesn't work in ru_RU locale too.

@DawnWright
Copy link
Author

The problem exists for all languages where {zero} is not a required form. This indeed includes Russian, per http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html

@asaxesmartling
Copy link

We're reviewing now how we could support the {zero} form throughout the Smartling platform including the iOS i18n library. No scheduled release date yet.

@DawnWright
Copy link
Author

Great, thank you for looking at this.

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

No branches or pull requests

4 participants
@vitalybaev @asaxesmartling @DawnWright and others