aido-onyx/branding/i18n/MISSING-de.md
NaeemDosh ea2c56f9e0 i18n: client-editable German dictionary + limit UI languages to de/en
Two client requests on the v4.5.2 German build:

1. Editable/persistent translations. German dictionaries now live at
   branding/i18n/locales/{de,en}.json (the client edits these). apply-branding.mjs
   overlays them onto web/public/locales/<lang>/common.json AFTER the patch, so edits
   survive make setup (previously the dict was inside the patch and got overwritten).
   Added MISSING-de.md (the ~12 non-admin keys still English; dict is ~98% complete).

2. Limit the selector to German + English. New config i18n.languages=["de","en"];
   apply strips every other bundled language (es/fr/pt) from i18n.ts (imports +
   resources), the Settings selector, and public/locales. Config-driven + idempotent.

Note for coverage: dictionary edits only reach strings that are t()-wrapped. Components
kept at v4.5.2 during the re-sync (never-break-UI) render English regardless — those need
a component-wrapping pass (separate dev work), documented in README.

Verified in a built image: compiles (4.8min); de+en dictionaries served (200),
es/fr/pt removed (404); homepage 200.
2026-08-11 05:44:59 +05:00

16 lines
651 B
Markdown

# Untranslated German keys (still showing English)
Edit these in `branding/i18n/locales/de.json`, then `make apply && make build`.
- `general.chat` = "Chat"
- `chat.tool_display.tool` = "Tool"
- `settings.theme.logo_and_name` = "Logo & Name"
- `settings.appearance.mode_auto` = "Auto"
- `settings.chats.title` = "Chats"
- `settings.chats.mode_chat` = "Chat"
- `settings.token_rate_limits.tab_global` = "Global"
- `settings.usage.feedback_title` = "Feedback"
- `onboarding.theme.logo_and_name` = "Logo & Name"
- `onboarding.token_rate_limits.tab_global` = "Global"
- `onboarding.usage.feedback_title` = "Feedback"
- `agents.agent_singular` = "Agent"