# I18n with fuse-box

**URL:** <https://discourse.aurelia.io/t/i18n-with-fuse-box/2908>\
**Category:** Help Requests\
**Created:** [September 6, 2019, 5:59am UTC](https://discourse.aurelia.io/t/i18n-with-fuse-box/2908 "2019-09-06T05:59:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![PraveenGandhi](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/praveengandhi/32/1611_2.png) [@PraveenGandhi](https://discourse.aurelia.io/u/PraveenGandhi)\
**Post date:** [September 6, 2019, 5:59am UTC](https://discourse.aurelia.io/t/i18n-with-fuse-box/2908/1 "2019-09-06T05:59:36Z")

</div>

Hi All,

I am facing a problem with i18n fuse-box setup. similar to [the other webpack issue](https://discourse.aurelia.io/t/aurelia-i18n-translation-loaded-with-warning-message-failed-loading/2081).

 ![au-i18n-warning](https://canada1.discourse-cdn.com/flex027/uploads/aurelia/original/2X/1/10f4bec698167331ae7337aac6a00e811d0bea85.png)

Please help.

Thank you,  
Praveen Gandhi P.

---

<div class="post-metadata">

**Author:** ![zewa666](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/zewa666/32/19_2.png) [@zewa666](https://discourse.aurelia.io/u/zewa666)\
**Post date:** [September 6, 2019, 7:50am UTC](https://discourse.aurelia.io/t/i18n-with-fuse-box/2908/2 "2019-09-06T07:50:13Z")

</div>

I fear without sharing a minimalistic repro it will be hard to figure out what could be the problem

---

<div class="post-metadata">

**Author:** ![PraveenGandhi](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/praveengandhi/32/1611_2.png) [@PraveenGandhi](https://discourse.aurelia.io/u/PraveenGandhi)\
**Post date:** [September 6, 2019, 7:54am UTC](https://discourse.aurelia.io/t/i18n-with-fuse-box/2908/3 "2019-09-06T07:54:05Z")

</div>

@zewa666, You are right, let me do that in sometime later.

Thank you.

---

<div class="post-metadata">

**Author:** ![PraveenGandhi](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/praveengandhi/32/1611_2.png) [@PraveenGandhi](https://discourse.aurelia.io/u/PraveenGandhi)\
**Post date:** [September 6, 2019, 8:55am UTC](https://discourse.aurelia.io/t/i18n-with-fuse-box/2908/4 "2019-09-06T08:55:45Z")

</div>

> **[PraveenGandhi/au-i18n-fusebox](https://github.com/PraveenGandhi/au-i18n-fusebox)**
>
> Contribute to PraveenGandhi/au-i18n-fusebox development by creating an account on GitHub.

Please have a look at this repo

> **[Gitpod - Online IDE for GitHub](https://gitpod.io/#https%3A%2F%2Fgithub.com%2FPraveenGandhi%2Fau-i18n-fusebox)**
>
> One-click ready-to-code development environments for GitHub.

 ![au-i18n-fusebox](https://canada1.discourse-cdn.com/flex027/uploads/aurelia/original/2X/f/fdcaafaed74934a500e49ce1b2acf24730e044ad.png)

---

<div class="post-metadata">

**Author:** ![zewa666](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/zewa666/32/19_2.png) [@zewa666](https://discourse.aurelia.io/u/zewa666)\
**Post date:** [September 6, 2019, 10:14am UTC](https://discourse.aurelia.io/t/i18n-with-fuse-box/2908/5 "2019-09-06T10:14:02Z")

</div>

ok so you’re using the aurelia loader to make use of bundled files. In all honesty I’ve no idea how to do that in FuseBox but alternatively the section “Bundle Translation files” talks about in the case of Webpack how to do so with [https://github.com/atroo/i18next-resource-store-loader](https://github.com/atroo/i18next-resource-store-loader). This way no backend at all is needed since you can directly override the resources in one go.

Bundling per se is not really a good idea for translations in my opinion as they typically grow quickly and sooner or later you’ll want to anyway switch to lazy fetching the needed translations as the user changes locales. You really dont want to ship all of them even if most users e.g just use one specific locale most of the time. So going with the i18next-xhr-backend plugin is I think the best way to do.

---

<div class="post-metadata">

**Author:** ![PraveenGandhi](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/praveengandhi/32/1611_2.png) [@PraveenGandhi](https://discourse.aurelia.io/u/PraveenGandhi)\
**Post date:** [September 6, 2019, 11:20am UTC](https://discourse.aurelia.io/t/i18n-with-fuse-box/2908/6 "2019-09-06T11:20:28Z")

</div>

@zewa666, your suggestion makes sense to me. Let me try with i18next-xhr-backend

Thank you.

---

<div class="post-metadata">

**Author:** ![PraveenGandhi](https://yyz1.discourse-cdn.com/flex027/user_avatar/discourse.aurelia.io/praveengandhi/32/1611_2.png) [@PraveenGandhi](https://discourse.aurelia.io/u/PraveenGandhi)\
**Post date:** [September 9, 2019, 1:38am UTC](https://discourse.aurelia.io/t/i18n-with-fuse-box/2908/7 "2019-09-09T01:38:08Z")

</div>

Thank you @zewa666, working fine with i18next-xhr-backend.
