diff --git a/app/javascript/v3/App.vue b/app/javascript/v3/App.vue index 398495f98..c645ce5a4 100644 --- a/app/javascript/v3/App.vue +++ b/app/javascript/v3/App.vue @@ -15,6 +15,7 @@ export default { mounted() { this.setColorTheme(); this.listenToThemeChanges(); + this.setLocale(window.chatwootConfig.selectedLocale); }, methods: { setColorTheme() { @@ -35,6 +36,9 @@ export default { } }; }, + setLocale(locale) { + this.$root.$i18n.locale = locale; + }, }, };