123
dcc
2024-06-05 f15ad3456b47e43646234b9c91c3ddd77ab2cd02
src/locales/index.js
@@ -1,9 +1,11 @@
import Vue from "vue";
import VueI18n from "vue-i18n";
// import en from './en.js'
import en from "./zh.js";
import india from "@/locales/india";
import tw from "@/locales/tw";
import en from "./en.json";
import india from "@/locales/india.json";
import tw from "@/locales/tw.json";
import ty from "@/locales/taiyu.json";
import ry from "@/locales/riyu.json";
import hy from "@/locales/hanyu.json";
Vue.use(VueI18n);
@@ -11,14 +13,23 @@
const LOCALE_KEY = "language";
const locales = {
  "zh-CN": {
  en: {
    ...en
  },
  en: {
  hi: {
    ...india
  },
  tw: {
  "zh-TW": {
    ...tw
  },
  th: {
    ...ty
  },
  ja: {
    ...ry
  },
  ko: {
    ...hy
  }
};
// en-us  zh-cn