I am trying to avoid prefixes with nuxt-i18n but when I switch locale it does not load the other language file set in langDir. I switch locale simply by setting $i18n.locale to the other language @click="$i18n.locale=locale.code" It switches the locales in components but not in my langDir. If I refresh the browser it then loads the correct language but with the switch the other one is not loaded anymore. What am I missing?
In your method where you change the locale you can just do window.location.reload()