Merge pull request #3390 from h3poteto/iss-3389

refs #3389 Fix i18next when application is loaded
This commit is contained in:
AkiraFukushima 2022-06-05 23:00:00 +09:00 committed by GitHub
commit 604e00110f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ export default {
created() {
this.$store.dispatch('App/watchShortcutEvents')
this.$store.dispatch('App/loadPreferences').then(conf => {
this.$i18n.locale = conf.language.language
this.$i18n.changeLanguage(conf.language.language)
})
},
unmounted() {