Skip to content

bugfix: import translation files #775

Matthieu Fesselier requested to merge bugfix/775-import-translation-files into master

The previous version was working in a unbundled way, locally. But the syntax fetch('../../locales/fr.json') was obviously not working in production.

We did not see it on Hubl because it was loading the hubl translation files.

I replaced it with dynamic imports which should be working anytime. I also moved the locales folder from / to /src so it can be included in the compiled files.

Closes #775 (closed)

Merge request reports