From 80d2e306cd5b74f1926f59ff9454f2a04620c8b6 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 21 May 2024 18:33:54 +0800
Subject: [PATCH] 123

---
 src/locales/index.js |   25 ++++++++++++++++++-------
 1 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/src/locales/index.js b/src/locales/index.js
index 7148d30..ea7aa1d 100644
--- a/src/locales/index.js
+++ b/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

--
Gitblit v1.9.3