jhzh
2024-05-11 3edcaab082fec1f72456e984c16f7cb43f28c1ec
src/locales/index.js
@@ -1,12 +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 ty from "@/locales/taiyu.js";
import ry from "@/locales/riyu.js";
import hy from "@/locales/hanyu.js";
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);
@@ -14,22 +13,22 @@
const LOCALE_KEY = "language";
const locales = {
  "zh-CN": {
  en: {
    ...en
  },
  en: {
  hi: {
    ...india
  },
  tw: {
  "zh-TW": {
    ...tw
  },
  ty: {
  th: {
    ...ty
  },
  ry: {
  ja: {
    ...ry
  },
  hy: {
  ko: {
    ...hy
  }
};