mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4157] [MERGED] Add the German documentation language pack #6256
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#6256
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/4157
Author: @kolacheee
Created: 7/27/2026
Status: ✅ Merged
Merged: 7/27/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/docs-language-de📝 Commits (2)
eb085fdOffer German as a documentation language7a44fe0Reference #4157 in the changelog entry📊 Changes
6 files changed (+32 additions, -4 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
CONTRIBUTING.md(+3 -1)📝
packages/client/src/components/modals/DocsViewerModal.tsx(+25 -2)📝
packages/client/src/components/panels/SettingsPanel.tsx(+1 -1)📝
packages/shared/src/constants/docs-languages.ts(+1 -0)📝
scripts/regressions/docs-language.regression.ts(+1 -0)📄 Description
Why
Spanish (#4100) validated the Documentation Language system with international users; German is language #3 in the planned FIGS(P) → CJK rollout. This PR is the Engine side of the two-line recipe that system was designed for: one label row plus one sidebar-label map. The content itself lives on the companion
docs-i18nbranch (de/+ sha256 manifest) and is downloaded on demand, so it adds zero checkout or image weight.What changed
packages/shared/src/constants/docs-languages.ts:de: { label: "Deutsch", englishLabel: "German" }— this is what makes German appear in the Settings selector and the tutorial picker, and what gates its pack for download.packages/client/src/components/modals/DocsViewerModal.tsx: German sidebar category labels (Anleitungen,Start,Verbindungen, …; the mode names Conversation/Roleplay/Game Mode stay English to match the UI).CHANGELOG.md: Unreleased entry.docs-i18n, not part of this diff):de/**— all 123 guides translated into standard German with a generated manifest.Everything else — download, verification, atomic install, pack replacement, Fix, boot auto-refresh, EN-badge fallback, coverage counts — picks German up automatically from the label row; no other code paths change.
Translation approach
Building on the Spanish feedback that some pages read too literally, the German pack was produced against a glossary/style brief that makes natural, idiomatic phrasing the top rule (with an explicit anti-calque table), uses informal lowercase du consistently (matching the app's warm tone and modern German consumer-software convention), keeps the German LLM/roleplay community's English loanwords with correct genders and Duden-style compound hyphenation (der Prompt, das Token, das Lorebook, „Lorebook-Eintrag"), and keeps UI control names in English bold with a one-time German gloss so instructions can be followed against the English interface. One standardized term per concept preserves the hit-count search. Every file passed structural verification (byte-identical code fences and link targets, heading parity, LF-only), an address-form and 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.mjspass on thede/pack (no orphans, full coverage, valid hashes, no CRLF, no added images).Summary by CodeRabbit
New Features
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.