mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4191] [MERGED] Add the French documentation language pack #6275
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6275
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4191
Author: @kolacheee
Created: 7/27/2026
Status: ✅ Merged
Merged: 7/28/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/docs-language-fr📝 Commits (5)
9fb54c3Offer French as a documentation languagedb8ed4bCapitalize native language names in the Language dropdownf105d0eMerge remote-tracking branch 'origin/staging' into agent/docs-language-fr2a9c0a5Reference #4191 in the changelog entries2a35b8fMerge branch 'staging' into agent/docs-language-fr📊 Changes
7 files changed (+35 additions, -4 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
CONTRIBUTING.md(+1 -0)📝
packages/client/src/components/modals/DocsViewerModal.tsx(+24 -2)📝
packages/client/src/components/panels/SettingsPanel.tsx(+1 -1)📝
packages/client/src/localization/locale-loader.ts(+5 -1)📝
packages/shared/src/constants/docs-languages.ts(+1 -0)📝
scripts/regressions/docs-language.regression.ts(+1 -0)📄 Description
Why
Language #4 in the FIGS(P) → CJK rollout, following Spanish (#4100) and German (#4157). Engine side is the established two-line recipe (label row + sidebar labels, plus search aliases); the content lives on the companion
docs-i18nbranch (fr/+ sha256 manifest) and downloads on demand, adding zero checkout or image weight.There is no linked issue/feature request yet — one should be opened and linked before this PR is submitted.
Merge ordering: the updated
docs-i18nbranch (withfr/) must be pushed before this PR merges, or picking Français will fail with a clean 502 until it exists.What changed
packages/shared/src/constants/docs-languages.ts:fr: { label: "Français", englishLabel: "French" }— gates the pack and lists Français in the Settings selector and tutorial picker.packages/client/src/components/modals/DocsViewerModal.tsx: French sidebar category labels (Guides,Accueil,Connexions,Personnages,Paramètres, …; mode names Conversation/Roleplay/Game Mode stay English to match the UI).packages/client/src/components/panels/SettingsPanel.tsx: settings-search aliases"french","français".scripts/regressions/docs-language.regression.ts: French assertion.CONTRIBUTING.md: French per-language conventions;CHANGELOG.md: Unreleased entry.docs-i18n, not part of this diff):fr/**— all 123 guides in French with a generated manifest.Everything else — download, verification, atomic install, pack replacement, Fix, boot auto-refresh, EN-badge fallback, coverage counts — picks French up automatically from the label row.
Translation approach
Same naturalness-first method as German (which addressed the literalness critique of the Spanish pack): a glossary/style brief with an explicit anti-calque table, consistent tutoiement (matching the app's warm tone and the tú/du precedent), false-friend guardrails (librairie/bibliothèque, éventuellement, actuellement), community loanwords with genders (le prompt, le token, le lorebook) and NPC → PNJ, and UI control names kept in English bold with a one-time French gloss. Deliberate typography decisions favor the product over strict print convention: plain ASCII spaces before double punctuation and straight quotes/apostrophes, because non-breaking spaces and guillemets would break the literal substring search and copy-paste (documented in CONTRIBUTING). Every file passed structural verification (byte-identical code fences and link targets, heading parity, LF-only), an address-form/typography/terminology sweep, and an independent language-QA panel.
Validation done
pnpm checkandpnpm regression:docsgreen on the merged tree.scripts/docs-i18n/validate-pack.mjs+build-manifest.mjsgreen onfr/(no orphans, full coverage, valid hashes, no CRLF, no added images).Summary by CodeRabbit
New Features
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.