123
dcc
2024-05-21 80d2e306cd5b74f1926f59ff9454f2a04620c8b6
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