feat(i18n): integrate i18next for internationalization support

- Added i18next and react-i18next for multi-language support in the application.
- Created localization files for English, Japanese, Korean, Traditional Chinese, and Simplified Chinese.
- Implemented translation hooks in various components to replace hardcoded strings with translatable keys.
- Updated ESLint configuration to include new i18n JSON validation rules.
- Introduced a new event bus for handling i18n updates during development.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-06-12 17:56:11 +08:00
parent 4a385b9852
commit c775f82153
40 changed files with 1874 additions and 259 deletions

View File

@@ -31,6 +31,7 @@
"consola": "3.4.2",
"eslint": "9.28.0",
"eslint-config-hyoban": "4.0.8",
"fast-glob": "3.3.3",
"lint-staged": "16.1.0",
"opentype.js": "1.3.4",
"prettier": "3.5.3",