Repository navigation
feat(i18n): add French localization to the web UI and docs - #509
Merged
Merged
Conversation
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.
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds French (
fr) as a fully supported language, following the pattern of the German/Dutch/Turkish localization PRs:frdictionary inweb/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..github/i18n/README.fr.md, including the "Memory credential redaction" section that the other translations skip — so nountranslatedentry is needed forfrindocs-map.json. Heading structure, levels and internal anchors match the English source.frregistered ingithub-site/docs-map.json,LOCALES(docs-shared.ts) and the language switcher ("Français" inDocsShell.svelte); the site build generates the/fr/docs/pages.No runtime change: language detection (franc + iso-639-3) already handles French.
Terminology: "mémoire(s)";
shard,prompt,tag,embedding,skillkept as loanwords;Dreaming/Dreamkept 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
bun run web:devagainst a live plugin (API proxied to127.0.0.1:4747), cycled to FR and reviewed the five views, dialogs and toasts.Checklist
mainbun testpasses (1228 pass / 4 skip / 0 fail with a clean HOME; one config-defaults test fails on my machine only because my personalopencode-mem.jsoncsetsembeddingIdleTimeoutMs— verified it passes with a clean HOME)bun run typecheckpassesbun run checkpasses (format + lint + typecheck)