Bundling translation files using Webpack

Hi all,

I’m trying to setup my configuration to make it possible to have separate translation files for each view/view-model and bundle those .json files to one big translation file so I can use that file in the loadPath of the aurelia-i18n plugin. I’m using only Webpack and the proposed solution on the tutorial page doesn’t seem to work properly…

Maybe I’m overlooking one simple step , but does anyone has recent experience with this?


That solution bundles all translation files into the app bundle. What.s not working there for you?

There is another solution in the docs to copy them all to dist but keep single files for each language which seems also appropriate for minimal loading times