jquery.i18n
jquery.i18n copied to clipboard
Provide a distributed bundle (dist) for consumption
As documented in #80 there are several files that have to be included in a specific order. You also have to download the git submodule and include those files as well.
It would be really helpful if there was a distributed bundle that was created that continued a single, minified file with the entire library in it that was ready to load.
Webpack could be used to generate this bundle fairly easily, but it would need to be kept up to date (but this could be automated with an npm or git hook).
PLEASE update the docs to include info about this. We spent the better part of the day wondering why we were getting an error in Portuguese (but not in Spanish or English). If the docs had been clear about what to include (in our case CLDRPluralRuleParser.js) we could have saved ourselves a lot of time.
@ssuess Thanks for the patch. I merged it. In case it helps, we are mostly focussing on jquery independent library. See https://github.com/wikimedia/banana-i18n also comes with react and vue bindings
Is there any plan on releasing such a bundled i18n.min.js easily downloadable without bindings? I don't use any bundler and there's no need to introduce in the project js bundlers.
I second the opinion of @thepra Including a bundle for download would be great. Personally I don't really need the languages bundled in.