Closed Remeic closed 2 years ago
Use nuxt-i18n module to handle Internationalization Add some default config
lazy: true, langDir: 'lang/', defaultLocale: 'en', strategy: 'no_prefix', detectBrowserLanguage: { useCookie: true, cookieKey: 'i18n_redirected', onlyOnRoot: true, }
With lazy we can split translation between files, thus user load only used language. Language is stored inside cookie and prefixed are disable
Add some example of translations Add a simple switcher of language inside settings page
There is one issue related to routes, add settings.vue page automatically add the route, how we can avoid this behaviour?
Closing due to heavy code changes and rework done since this pr.
Use nuxt-i18n module to handle Internationalization Add some default config
With lazy we can split translation between files, thus user load only used language. Language is stored inside cookie and prefixed are disable
Add some example of translations Add a simple switcher of language inside settings page