Files
DeepTutor/web/lib
gezakepek-tech adc80e5038 feat(i18n): add Hungarian as an interface and reply language
Adds a complete Hungarian (hu) locale alongside the existing catalogs, wired
through every seam a language has to pass so none of them silently serves
English to a Hungarian reader.

Frontend: the hu catalog covers all 6,584 English keys with matching
interpolation placeholders, registered in the locale registry, the lazy bundle
loader, Intl date/number formatting (hu-HU) and the reply-language picker.
`language.hungarian` ("Magyar") is added to every existing catalog so the
endonym is shown whatever the current interface language is.

Backend: "hu" is accepted by the launch, interface and reply-language
normalizers and offered in both settings choice lists, named in the prompt
language labels, and carries the Hungarian copy of the CLI-app, MCP and
sandbox messages, the quiz-judge prompt, the book export labels, the book
overview front page and the voice language list.

Scope: the CLI installer banner (`deeptutor/runtime/banner.py`) keeps its
English text for hu and falls back through `_pick_language`; it is terminal
setup copy unused in server deployments and is left for a follow-up.

Evidence:
- `python -m pytest tests/i18n/test_hungarian_locale.py` — 33 passed
- `npm run test:node` — 1353 passed (adds hungarian-locale-quality.test.ts)
- `npm run typecheck` — clean
- `node scripts/i18n_parity.mjs` — OK
- `node scripts/i18n_audit.mjs` — hu: 4529/4529 used keys (100.0%), strict
- `node scripts/generate-contracts.mjs --check` — no drift
- `ruff format --check` / `ruff check` on the touched Python files — clean

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-07 14:20:07 +01:00
..
2026-09-24 09:59:56 +08:00
2026-09-02 04:09:11 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-21 02:30:40 +08:00
2026-09-02 04:09:11 +08:00
2026-08-02 13:23:45 +08:00
2026-08-02 13:23:45 +08:00
2026-08-02 13:23:45 +08:00
2026-09-21 02:30:40 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-08-17 11:22:26 +08:00
2026-09-03 01:38:54 +08:00
2026-08-17 11:22:26 +08:00
2026-09-21 02:30:40 +08:00
2026-09-02 04:09:11 +08:00
2026-08-02 13:23:45 +08:00
2026-07-31 00:25:48 +08:00
2026-09-06 13:46:29 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-09-21 02:30:40 +08:00
2026-09-21 02:30:40 +08:00
2026-09-24 09:59:56 +08:00
2026-09-22 21:36:27 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-24 09:59:56 +08:00
2026-08-20 14:15:53 +08:00
2026-09-06 13:46:29 +08:00
2026-09-24 09:59:56 +08:00
2026-09-21 02:30:40 +08:00
2026-09-06 13:46:29 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-03 01:38:54 +08:00
2026-09-06 13:46:29 +08:00
2026-09-06 13:46:29 +08:00
fix
2026-08-09 22:18:22 +08:00
2026-09-21 02:30:40 +08:00
2026-09-02 04:09:11 +08:00
2026-09-21 02:30:40 +08:00
2026-09-06 13:46:29 +08:00
2026-07-31 00:25:48 +08:00
2026-09-06 13:46:29 +08:00
2026-07-24 18:16:04 +08:00
2026-09-02 04:09:11 +08:00
2026-09-06 13:46:29 +08:00
2026-10-04 21:35:00 +08:00
2026-08-20 14:15:53 +08:00
2026-09-03 01:38:54 +08:00