Split the monolithic i18n.ts (~1700 lines) into separate modules: - types.ts: type definitions - languages.ts: language options and helpers - translate.ts: locale get/set and translation logic - locales/: one file per locale - index.ts: re-exports for backward-compatible imports Update LanguageSelector to use option.label directly and remove unused getLanguageOptionLabel import and id attribute. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| e2e | ||
| src | ||
| .gitignore | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||