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.
Showing
web/i18next.config.ts
0 → 100644
| ... | @@ -17,6 +17,7 @@ | ... | @@ -17,6 +17,7 @@ |
| "history": "^5.3.0", | "history": "^5.3.0", | ||
| "i18next": "^23.16.8", | "i18next": "^23.16.8", | ||
| "i18next-browser-languagedetector": "^7.2.0", | "i18next-browser-languagedetector": "^7.2.0", | ||
| "i18next-cli": "^1.10.3", | |||
| "katex": "^0.16.22", | "katex": "^0.16.22", | ||
| "lucide-react": "^0.511.0", | "lucide-react": "^0.511.0", | ||
| "marked": "^4.1.1", | "marked": "^4.1.1", | ||
| ... | @@ -49,7 +50,11 @@ | ... | @@ -49,7 +50,11 @@ |
| "lint:fix": "prettier . --write", | "lint:fix": "prettier . --write", | ||
| "eslint": "bunx eslint \"**/*.{js,jsx}\" --cache", | "eslint": "bunx eslint \"**/*.{js,jsx}\" --cache", | ||
| "eslint:fix": "bunx eslint \"**/*.{js,jsx}\" --fix --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": { | "eslintConfig": { | ||
| "extends": [ | "extends": [ | ||
| ... | ... |
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
Please
register
or
sign in
to comment