Hi @mahmoudmy !
There should be no problem using JSON files to store your translations.
vueI18n: {
messages: { en: require('./lang/en-US.json') }
}
Loading active language only seems to be a most wanted feature, I'd really like to implement it but I'm not sure how to approach it yet and did not have much time to think about it, I hope I'll be able to get to it soon. Any help or ideas are very welcome :)
Thanks!
[edit] Just pre-released v2.3.0 with support for lazy-loading translations, hope you can give it a try :) More info here: https://github.com/nuxt-community/nuxt-i18n/issues/23
Most helpful comment
Hi @mahmoudmy !
There should be no problem using JSON files to store your translations.
Loading active language only seems to be a most wanted feature, I'd really like to implement it but I'm not sure how to approach it yet and did not have much time to think about it, I hope I'll be able to get to it soon. Any help or ideas are very welcome :)
Thanks!
[edit] Just pre-released v2.3.0 with support for lazy-loading translations, hope you can give it a try :) More info here: https://github.com/nuxt-community/nuxt-i18n/issues/23