mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4281] [MERGED] Offer Russian as a documentation language #6317
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#6317
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/4281
Author: @kolacheee
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @kolacheee
Base:
staging← Head:agent/docs-language-ru📝 Commits (2)
b82588fOffer Russian as a documentation language43090bcReference #4281 in the changelog entry📊 Changes
6 files changed (+27 additions, -1 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
CONTRIBUTING.md(+1 -0)📝
packages/client/src/components/modals/DocsViewerModal.tsx(+22 -0)📝
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
Russian is the next language on the documentation-translation roadmap (all UI
Languagelocales get a docs pack; Русский follows Polish). Russian-speaking users — a large share of the SillyTavern-adjacent community Marinara draws from — currently read all 123 in-app guides in English. This PR makes the guides available in natural Russian through the existing Settings → General → Documentation Language selector and the onboarding tutorial's language suggestion.Follows up on #4100 (selector + pack architecture + Spanish), #4157 (German), #4191 (French), #4229 (Brazilian Portuguese), and #4235 (Polish). The translated pack itself lives on the
docs-i18nbranch (pushed together with this PR); this Engine PR adds only the language wiring.What changed
packages/shared/src/constants/docs-languages.ts—ru: { label: "Русский", englishLabel: "Russian" }. The label byte-matches what the capitalized Language dropdown renders viaIntl.DisplayNames(verified by executing the same code path on the repo's Node).packages/client/src/components/modals/DocsViewerModal.tsx— Russian sidebar category labels (Руководства, Установка, Подключения, Персонажи, Чаты, Лорбуки, Агенты, Медиа, Промпты, Оформление, Настройки, Данные, Расширения, Интеграции, Разработка; mode names and Noodle stay English, matching the interface).packages/client/src/components/panels/SettingsPanel.tsx— settings-search aliasesrussian,русский.scripts/regressions/docs-language.regression.ts— asserts Russian stays offered.CONTRIBUTING.md— Russian translation-convention bullet (see below).CHANGELOG.md— release-notes entry under[Unreleased].No server changes are needed per language: the pack list, download URL, verification, and serving all derive from the shared label map.
Russian conventions (documented in CONTRIBUTING)
–) wherever Russian grammar wants тире; em dashes banned pack-wide. Straight ASCII quotes only (never «ёлочки»), no non-breaking spaces, "е" instead of "ё" except in всё/всём/всё-таки — one spelling per word keeps search deterministic.Validation performed
node scripts/docs-i18n/build-manifest.mjs ru+node scripts/docs-i18n/validate-pack.mjs ru— 123/123 files mirror the English tree; link targets, code fences, and heading structure verified byte-identical; committed git blobs re-hashed against the manifest (0 mismatches), so download verification will pass.pnpm regression:docs— passes (languages en, de, es, fr, pl, pt-br, ru).pnpm check— passes (impeccable, localization, lint, build).active: ru, integrity ok, 123/123; Russian serves for user and developer docs;?lang=enoverride still serves English; Cyrillic search returns ranked results ("промпт" → 73 guides, "подключение" → 68); the docs viewer shows Russian titles and all 20 Russian category labels; the Settings selector shows Русский active.Summary by CodeRabbit
New Features
Improvements
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.