Nuxt with nuxt-i18n

MJ
1 min readJun 24, 2019

--

If you want to try to use nuxt-i18n
check the link( https://nuxt-community.github.io).

and I wrote very simple codes which can be tested.

install : (you can use npm also, in that case remove — shamefully-faltten)
pnpm install nuxt-i18n — shamefully-flatten

explain:
paths — follow strategy : ‘prefix_and_default’
/en
/fr
/es
/ : default lang — en

also check this. You can just use vue-i18n.

https://medium.com/@helena.wuv/how-to-internationalize-your-next-nuxt-project-using-vue-i18n-d9c51e28a564

--

--