translate.js icon indicating copy to clipboard operation
translate.js copied to clipboard

Custom pluralization functions?

Open maranomynet opened this issue 10 years ago • 1 comments

FYI, I just made this PR against StephahHoyer's fork of this library.

StephanHoyer/translate.js#1

I thought, you might find it useful too. :-)

maranomynet avatar Jun 11 '15 17:06 maranomynet

Thanks, after having a look at things, I think the easiest way to get the library to work in both CommonJS/Node and script tag environments is to add a little UMD wrapper. And I'd love to add the custom pluralizer function support, while at it I might make some API breaking changes resulting in a 2.0. But not sure yet.

musterknabe avatar Jun 18 '15 20:06 musterknabe