bugfix: import translation files #775
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)