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

Enhancement - improve hints for plural forms #6115

Open
leonardcj opened this issue Mar 16, 2017 · 2 comments
Open

Enhancement - improve hints for plural forms #6115

leonardcj opened this issue Mar 16, 2017 · 2 comments

Comments

@leonardcj
Copy link
Contributor

leonardcj commented Mar 16, 2017

The idea is to display plural equation fragments when showing multiple boxes so localizers know what plural 0, plural 1 and plural 2 are supposed to be.

So for a language like Czech nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;

You would have three boxes, each tagged to show what the right part of the plural equation is.

It would help a lot for the Baltic and Eastern European languages.

@dwaynebailey
Copy link
Member

@leonardcj this is what current master displays for Plurals

screen shot 2017-03-16 at 10 20 31

I think it may be more useful if we were able to display the examples as exist in CLDR plurals.

@leonardcj
Copy link
Contributor Author

The current display is improved from prior versions for sure. It gets a little trickier when you have more than two nplurals because the English POT text will only provide you with two forms.

@unho unho added the editor label Jun 8, 2017
@phlax phlax added this to the 2.9.0 milestone Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants