mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 03:27:52 +00:00
Chore: Add translated languages to account settings (#826)
* Add available languages in account settings Co-authored-by: Sojan <sojan@pepalo.com>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
import { mapActions } from 'vuex';
|
||||
import { setHeader } from 'widget/helpers/axios';
|
||||
import { IFrameHelper } from 'widget/helpers/utils';
|
||||
import Vue from 'vue';
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
@@ -17,7 +18,9 @@ export default {
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
const { websiteToken } = window.chatwootWebChannel;
|
||||
const { websiteToken, locale } = window.chatwootWebChannel;
|
||||
Vue.config.lang = locale;
|
||||
|
||||
if (IFrameHelper.isIFrame()) {
|
||||
IFrameHelper.sendMessage({
|
||||
event: 'loaded',
|
||||
|
||||
Reference in New Issue
Block a user