nuxt-i18n: 6.13.7
nuxt: 2.14.1
i18n: {
locales: [
{
code: "en",
name: "EN",
file: "en.json"
},
{
code: "th",
name: "TH",
file: "th.json"
}
],
defaultLocale: "en",
strategy: "prefix",
lazy: true,
langDir: "locales/",
detectBrowserLanguage: false
}
https://codesandbox.io/s/friendly-lamport-326c8
/th linken is not loadeden should loaden is not loaded/en (the default locale) and click th, the locale is working properlySilly mistake, sorry about that.
It would have worked if you would set i18n.fallbackLocale to en also but maybe you don't want that and it shouldn't be necessary anyway.
Released in v6.13.9
It's working. Thank you for very quick fix @rchl !
Most helpful comment
Released in v6.13.9