mirror of
https://github.com/lingble/chatwoot.git
synced 2026-03-20 02:52:27 +00:00
fix: Use installation locale if configured (#8002)
This commit is contained in:
@@ -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;
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user