diff --git a/resources/js/App.vue b/resources/js/App.vue index b0d085e3..ebd482ec 100644 --- a/resources/js/App.vue +++ b/resources/js/App.vue @@ -60,7 +60,7 @@ export default { this.$router.push({name: 'InstallationDisclaimer'}) if (installation === 'setup-done') - this.$store.dispatch('getLanguageTranslations', this.$root.$data.config.language) + this.$store.dispatch('getLanguageTranslations', this.$root.$data.config.locale) .then(() => { this.isLoaded = true diff --git a/resources/js/i18n/index.js b/resources/js/i18n/index.js index 8144c645..516859a2 100644 --- a/resources/js/i18n/index.js +++ b/resources/js/i18n/index.js @@ -4,7 +4,7 @@ import VueI18n from 'vue-i18n'; Vue.use(VueI18n); const i18n = new VueI18n({ - locale: config.language, + locale: config.locale, silentTranslationWarn: true, });