import { createI18n } from 'vue-i18n' import { localData } from '../storage' import zhCN from '@public/locales/zh-CN.json' import enUS from '@public/locales/en-US.json' const appLanguage = localData.getRef('appLanguage') export const i18n = createI18n({ locale: "en-US",//appLanguage.value, fallbackLocale: 'zh-CN', messages: { 'zh-CN': zhCN, 'en-US': enUS } })