move to nuxt-i18n, switch language,address #171

This commit is contained in:
lesion
2022-10-12 12:45:09 +02:00
parent 33084237e9
commit 2cb4359ffd
13 changed files with 59 additions and 48 deletions

View File

@@ -1,5 +1,4 @@
export const state = () => ({
locale: '',
user_locale: {},
settings: {
instance_timezone: 'Europe/Rome',
@@ -25,9 +24,6 @@ export const mutations = {
setSetting (state, setting) {
state.settings[setting.key] = setting.value
},
setLocale (state, locale) {
state.locale = locale
},
setUserlocale (state, messages) {
state.user_locale = messages
},