Static GitHub Issues

[29] Translation support (or get access to Vue configuration)

prev: 'Window is not defined' where do I put client-side only scripts?
next: https://nuxtjs.org/ is down

Hi, We are building our new app using nuxt as an Express.js middleware. Our app must be translated in some languages.

We are looking to use i18next using the i18next vuejs build. As you can see, to use it, we need to make some Vue configuration.

Vue.use(VueParams);
Vue.use(VueI18Next);
Vue.params.i18nextLanguage = "en";
i18next.init({ lng: Vue.params.i18nextLanguage, ... });
// ...

Don't know if there is a way to add custom Vue configuration by using Nuxt ?

Many thanks :)

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c23">#c23</a>)</em></sub></div>