扩充多语言范围,新增7种多语言

This commit is contained in:
xintaofei
2026-03-09 15:31:34 +08:00
parent 32fbafa1fe
commit 08b33b5755
18 changed files with 9457 additions and 75 deletions

View File

@@ -239,6 +239,7 @@ export function AppI18nProvider({
useEffect(() => {
document.documentElement.lang = activeIntlLocale
document.documentElement.dir = activeIntlLocale === "ar" ? "rtl" : "ltr"
}, [activeIntlLocale])
const contextValue = useMemo<AppI18nContextValue>(