feat: add i18n configuration and expand translation glossary

Add comprehensive i18next configuration for internationalization support with Chinese, English, and French locales. Configure extraction settings and ignore patterns for React components. Expand translation glossary with security and billing terminology including Two-Factor Authentication, 2FA, and pricing multiplier terms.
This commit is contained in:
Dmitriy Safonov
2025-10-09 23:14:24 +03:00
parent a92afd7a53
commit bd02dca979
8 changed files with 6234 additions and 4709 deletions

View File

@@ -17,6 +17,7 @@
"history": "^5.3.0",
"i18next": "^23.16.8",
"i18next-browser-languagedetector": "^7.2.0",
"i18next-cli": "^1.10.3",
"katex": "^0.16.22",
"lucide-react": "^0.511.0",
"marked": "^4.1.1",
@@ -49,7 +50,11 @@
"lint:fix": "prettier . --write",
"eslint": "bunx eslint \"**/*.{js,jsx}\" --cache",
"eslint:fix": "bunx eslint \"**/*.{js,jsx}\" --fix --cache",
"preview": "vite preview"
"preview": "vite preview",
"i18n:extract": "bunx i18next-cli extract",
"i18n:status": "bunx i18next-cli status",
"i18n:sync": "bunx i18next-cli sync",
"i18n:lint": "bunx i18next-cli lint"
},
"eslintConfig": {
"extends": [