Skip to content

feat(i18n): add French localization to the web UI and docs - #509

Merged
EyJunge1 merged 1 commit into
tickernelz:mainfrom
ptitan:feat/i18n-french
Nov 18, 2026
Merged

EyJunge1 merged 1 commit into
tickernelz:mainfrom
ptitan:feat/i18n-french

Conversation

@ptitan

@ptitan ptitan commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds French (fr) as a fully supported language, following the pattern of the German/Dutch/Turkish localization PRs:

  • Web UI: complete fr dictionary in web/src/lib/i18n/translations.ts — all 268 English keys with exact key and placeholder parity (enforced by the existing i18n regression tests). French becomes available in the sidebar language cycler automatically.
  • README: full French translation at .github/i18n/README.fr.md, including the "Memory credential redaction" section that the other translations skip — so no untranslated entry is needed for fr in docs-map.json. Heading structure, levels and internal anchors match the English source.
  • Docs site: fr registered in github-site/docs-map.json, LOCALES (docs-shared.ts) and the language switcher ("Français" in DocsShell.svelte); the site build generates the /fr/docs/ pages.
  • All six READMEs (en, de, zh, ar, tr, nl): 🇫🇷 added to the language row and to the README-translations list.
  • Test: "includes French in the language catalog", mirroring the Turkish one.

No runtime change: language detection (franc + iso-639-3) already handles French.

Terminology: "mémoire(s)"; shard, prompt, tag, embedding, skill kept as loanwords; Dreaming/Dream kept as feature names (as in nl/de); vault → "coffre", fallback → "repli". Tag dropdown options follow the Dutch "translation (value)" pattern so stored tag values stay English.

Test plan

  • Exercised the change locally: ran the translated UI via bun run web:dev against a live plugin (API proxied to 127.0.0.1:4747), cycled to FR and reviewed the five views, dialogs and toasts.
  • Noted any follow-up or known limitations: the API-side string "No profile found. Keep chatting to build your profile." is backend-owned, not part of the web UI catalog, so it is quoted in English in the French README.

Checklist

  • Branch is based on main
  • bun test passes (1228 pass / 4 skip / 0 fail with a clean HOME; one config-defaults test fails on my machine only because my personal opencode-mem.jsonc sets embeddingIdleTimeoutMs — verified it passes with a clean HOME)
  • bun run typecheck passes
  • bun run check passes (format + lint + typecheck)
  • Docs / README updated when behavior or contribution process changes

Add a complete fr dictionary (268 keys, exact key/placeholder parity with
English) to the web UI language catalog, a full French README translation
under .github/i18n/ (including the credential-redaction section), and wire
French into the docs site (docs-map.json, LOCALES, language switcher).
Add the French flag to the language rows and translation lists of all six
READMEs, and a catalog regression test mirroring the Turkish one.
@EyJunge1
EyJunge1 merged commit 2e7a582 into tickernelz:main Nov 18, 2026
1 check passed
@EyJunge1 EyJunge1 mentioned this pull request Nov 18, 2026
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants