jquery.i18n icon indicating copy to clipboard operation
jquery.i18n copied to clipboard

Provide a distributed bundle (dist) for consumption

Open davidbarratt opened this issue 7 years ago • 4 comments

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

davidbarratt avatar Mar 20 '18 03:03 davidbarratt

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 avatar Sep 24 '19 13:09 ssuess

@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

santhoshtr avatar Sep 27 '19 09:09 santhoshtr

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.

thepra avatar Oct 06 '19 12:10 thepra

I second the opinion of @thepra Including a bundle for download would be great. Personally I don't really need the languages bundled in.

jarodium avatar Oct 14 '20 22:10 jarodium