mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4345] [MERGED] Offer Japanese as a documentation language #6340
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#6340
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/4345
Author: @kolacheee
Created: 7/31/2026
Status: ✅ Merged
Merged: 7/31/2026
Merged by: @kolacheee
Base:
staging← Head:agent/docs-language-ja📝 Commits (3)
07678d6Offer Japanese as a documentation language7f9667dReference #4345 in the changelog entry7e2dd9bMerge branch 'staging' into agent/docs-language-ja📊 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
Japanese is the next language on the documentation-translation roadmap (all UI
Languagelocales get a docs pack; 日本語 follows Russian). Japanese-speaking users currently read all 123 in-app guides in English. This PR makes the guides available in natural Japanese 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), #4235 (Polish), and #4281 (Russian). 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—ja: { label: "日本語", englishLabel: "Japanese" }. The label byte-matches the Language dropdown'sIntl.DisplayNamesoutput (verified by executing the same code path; the capitalization step is a no-op for CJK).packages/client/src/components/modals/DocsViewerModal.tsx— Japanese sidebar category labels (ガイド, ホーム, インストール, 接続, キャラクター, チャット, ロアブック, エージェント, メディア, プロンプト, 外観, 設定, データ, 拡張機能, 連携, 開発; mode names and Noodle stay English, matching the interface).packages/client/src/components/panels/SettingsPanel.tsx— settings-search aliasesjapanese,日本語(the settings matcher is plain lowercaseincludes, so CJK needs no special handling — verified).scripts/regressions/docs-language.regression.ts— asserts Japanese stays offered.CONTRIBUTING.md— Japanese 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.
Japanese conventions (documented in CONTRIBUTING)
Because the in-app docs search is literal substring matching, the pack enforces one spelling per term and search-safe typography end to end:
7860. Zero full-width alphanumerics, zero ideographic spaces (U+3000), zero NBSP, and all text NFC-normalized (decomposed kana would silently break substring search).Validation performed
jadirectly.node scripts/docs-i18n/validate-pack.mjspasses for all seven packs against currentstaging; committed git blobs re-hashed against every manifest (7 × 123 files, 0 mismatches).pnpm regression:docspasses (languages en, de, es, fr, ja, pl, pt-br, ru);pnpm checkpasses.docs-i18npush also carries a second all-pack catch-up (FAQ,TROUBLESHOOTING, storyboard, scene backgrounds/video incl. the #4331 Animation Director, prompt overrides) so every language ships current with this Engine PR.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.