feat(i18n): add internationalization support with i18next

- Add i18next and related dependencies for internationalization
- Implement language switcher component with English and Chinese support
- Create translation files for English and Chinese locales
- Update login and home pages to use translations
- Configure i18n initialization with language detection
- Add dayjs locale synchronization with i18n language changes
- Update tsconfig and eslint to ignore new locales directory
- Remove unused App.css and simplify index.css
- Update npmrc with mirror configuration
This commit is contained in:
2025-10-10 11:15:56 +08:00
parent a1e8f47ed4
commit 8cf7a4e5d5
16 changed files with 1430 additions and 138 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>rag_flow_web_frontend</title>
<title>teres_web_frontend</title>
</head>
<body>
<div id="root"></div>