From f44047eff925ddba1726adc9f9cb8b2bcdec5053 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Fri, 19 Sep 2025 17:25:08 +0800
Subject: [PATCH] 1

---
 src/i18n/index.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/i18n/index.js b/src/i18n/index.js
index 2ca99a1..acf081d 100644
--- a/src/i18n/index.js
+++ b/src/i18n/index.js
@@ -10,7 +10,8 @@
 import  vi from './vi'
 import  th from './th'
 import  Italy from './Italy'
-const lang = getStorage('lang') || 'en'
+import Spanish from './Spanish'
+const lang = getStorage('lang') || 'Spanish'
 
 const messages = {
   'en': {
@@ -43,13 +44,16 @@
   'Italy': {
     ...Italy
   },
+  'Spanish': {
+    ...Spanish
+  },
 }
 
 
 const i18n = createI18n({
   legacy: false,
   locale: lang, // 首先从缓存里拿,没有的话就用浏览器语言,
-  fallbackLocale: 'en', // 设置备用语言
+  fallbackLocale: 'Spanish', // 设置备用语言
   messages,
 })
 

--
Gitblit v1.9.3