Skip to content

Commit 816735b

Browse files
author
winter
committed
feat(i18n): Add multi-language support to realize Chinese and English switching function
(cherry picked from commit b79a3cd6b9dca751bb7189e71f3ad11f167cce5c)
1 parent ac60cae commit 816735b

37 files changed

Lines changed: 922 additions & 268 deletions

frontend/package-lock.json

Lines changed: 133 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@
1818
"@tanstack/react-router": "1.19.1",
1919
"axios": "1.9.0",
2020
"form-data": "4.0.2",
21+
"i18next": "^25.3.2",
22+
"i18next-browser-languagedetector": "^8.2.0",
2123
"next-themes": "^0.4.6",
2224
"react": "^18.2.0",
2325
"react-dom": "^18.2.0",
2426
"react-error-boundary": "^5.0.0",
2527
"react-hook-form": "7.49.3",
28+
"react-i18next": "^15.6.0",
2629
"react-icons": "^5.5.0"
2730
},
2831
"devDependencies": {

0 commit comments

Comments
 (0)