litellm/ui
lijian19 37dd0678f6 feat(i18n): add internationalization platform infrastructure
Implement the Wave 1 platform layer per I18N_TECH_DESIGN/ADR (docs/i18n):
- src/i18n/** : lazy i18next singleton, readiness-gated I18nProvider that syncs
  <html lang>, locale detection/normalization (zh->zh-CN), cookie+localStorage
  preferences under the unified 'litellm.locale' key (P5), and the namespace
  registry (single source of truth, Agent-4-owned).
- src/locales/{en,zh-CN}/** : 8 namespace skeletons (common/navigation/auth/
  models/apiKeys/usage/cost/budgets) with matching key sets.
- Wire I18nProvider into the root layout as the outermost provider.
- Add LanguageSwitcher EN/中文 toggle component.
- Add Playwright E2E scaffolding (tests/e2e/ui) and deps
  (i18next, react-i18next, @playwright/test) via Agent 4 as single writer.
- Tests: 33 unit + 7 integration passing; next build green.

Note: strict typed keys intentionally relaxed to string (see types.d.ts) —
runtime readiness gate + A7 check-keys CI guarantee key correctness.
2026-09-09 14:19:10 +08:00
..
litellm-dashboard feat(i18n): add internationalization platform infrastructure 2026-09-09 14:19:10 +08:00
Dockerfile fix(docker): bump nginx runtime to 1.31.5-alpine3.24 and pin digest to resolve critical CVEs (#39561) 2026-09-03 08:46:07 -07:00
nginx.conf fix(ui): boot the UI image as an arbitrary uid by anchoring nginx writes under /tmp (#37982) 2026-08-24 11:57:36 -07:00