# Bundling translation files using Webpack

**URL:** <https://discourse.aurelia.io/t/bundling-translation-files-using-webpack/1267>\
**Category:** Help Requests\
**Created:** [May 31, 2018, 12:13pm UTC](https://discourse.aurelia.io/t/bundling-translation-files-using-webpack/1267 "2018-05-31T12:13:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterP](https://avatars.discourse-cdn.com/v4/letter/p/ccd318/32.png) [@PeterP](https://discourse.aurelia.io/u/PeterP)\
**Post date:** [May 31, 2018, 12:13pm UTC](https://discourse.aurelia.io/t/bundling-translation-files-using-webpack/1267/1 "2018-05-31T12:13:50Z")

</div>

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](https://github.com/atroo/i18next-resource-store-loader) on the [tutorial page](https://aurelia.io/docs/plugins/i18n#bundle-translation-files) doesn’t seem to work properly…

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

Thanks,  
PP

---

<div class="post-metadata">

**Author:** ![doktordirk](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/doktordirk/32/807_2.png) [@doktordirk](https://discourse.aurelia.io/u/doktordirk)\
**Post date:** [June 3, 2018, 11:57pm UTC](https://discourse.aurelia.io/t/bundling-translation-files-using-webpack/1267/2 "2018-06-03T23:57:12Z")

</div>

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
