feat: 后台自定义代码 & 后端语言优先

This commit is contained in:
naiba
2024-12-15 15:08:57 +08:00
parent 830992a74d
commit 8e45f8ca6f
6 changed files with 92 additions and 65 deletions

View File

@@ -22,7 +22,7 @@ const resources = {
}
const getStoredLanguage = () => {
return localStorage.getItem("language") || "zh-CN"
return localStorage.getItem("language") || "en-US"
}
i18n.use(initReactI18next).init({