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.
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