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

Make a generic genplurals so that programmers can use our pluralequations list #3119

Open
dwaynebailey opened this issue Oct 17, 2013 · 0 comments

Comments

@dwaynebailey
Copy link
Member

I found someone created a custom genplurals script that essentially reads the HTML page and creates a code block to handle plurals.

Would be useful to make a general genplurals available from our code so that others could use it as needed but in a generic fashion. It should really be reading the .rst file not the HTML and it should be able to output perhaps against a templates of some sort.

These are links to the genplurals script.

@dwaynebailey Over here: https://github.com/rubenv/angular-gettext/blob/master/genplurals.py

It's based on this code: https://github.com/rdio/vernacular/blob/master/tools/genplurals.py

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

1 participant