[PR #4158] [MERGED] Document the Documentation Language setting in the settings overview #6259

Closed
opened 2026-10-23 04:08:41 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4158
Author: @kolacheee
Created: 7/27/2026
Status: ✅ Merged
Merged: 7/27/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/docs-settings-overview-doc-language


📝 Commits (2)

  • a1e73ff Document the Documentation Language setting in the settings overview
  • b49cd7c Reference #4158 in the changelog entry

📊 Changes

5 files changed (+20 additions, -6 deletions)

View changed files

📝 CHANGELOG.md (+2 -0)
📝 docs/settings/settings-overview.md (+1 -0)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+10 -5)
📝 packages/client/src/localization/locales/en.json (+2 -0)
📝 packages/server/src/routes/docs.routes.ts (+5 -1)

📄 Description

Why

The settings overview guide documents Settings → General's Language (interface language) but never mentions the Documentation Language control that shipped in #4100 — a user reading the settings guide has no way to discover that the built-in guides can switch languages. Follow-up gap identified during the German pack review (#4157).

What changed

  • docs/settings/settings-overview.md: one new bullet in the App Behavior list describing the control — separate from the interface language, English built in and never downloaded, Download & Replace downloads a language pack once and removes the previous one, EN-badge English fallback for untranslated guides, search in the active language, update survival with automatic pack refresh, and what Fix documentation actually does (re-downloads; resets to English only when the download source is unreachable). Wording verified against the implementation and the exact UI strings.
  • Companion (committed on docs-i18n, must land in the same change window as this PR): the bullet mirrored into the Spanish and German packs per CONTRIBUTING § Translated documentation, following each language's glossary; both manifests rebuilt and validated.
  • Directly coupled accuracy fix: the Fix documentation success toast previously always said "Documentation reset to English." even when the fix had re-downloaded the pack or only removed leftover packs. It now reports the actual outcome (two new en.json keys; community locales fall back to English).
  • Retired a stale server comment still describing the pre-#4100 in-repo docs/i18n/ location.
  • CHANGELOG.md: Fixed entry.

Validation done

  • pnpm check and pnpm regression:docs green; pnpm localization:check green after the key additions.
  • scripts/docs-i18n/validate-pack.mjs green for both packs (123/123 each, hashes rebuilt).
  • The three bullets were adversarially reviewed against the implementation (server fix/install endpoints, client states, exact en.json strings) and each pack's glossary and existing terminology (insignia/paquete de idioma, Sprachpaket/EN-Badge).

Summary by CodeRabbit

  • Documentation

    • Added guidance for selecting and managing the documentation language, including translation downloads, English fallback behavior, update handling, and recovery options.
    • Clarified how translated documentation packs are stored and maintained.
  • Bug Fixes

    • Updated the “Fix documentation” notification to accurately describe whether documentation was re-downloaded, reset to English, or cleaned up.
    • Added clearer messages for successful documentation repairs and cleanup actions.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/4158 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 7/27/2026 **Status:** ✅ Merged **Merged:** 7/27/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/docs-settings-overview-doc-language` --- ### 📝 Commits (2) - [`a1e73ff`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a1e73fff034d0e7385d5492c1fc36faa60fc719f) Document the Documentation Language setting in the settings overview - [`b49cd7c`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b49cd7ceac4b4324beff40b974e0a854814c819e) Reference #4158 in the changelog entry ### 📊 Changes **5 files changed** (+20 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+2 -0) 📝 `docs/settings/settings-overview.md` (+1 -0) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+10 -5) 📝 `packages/client/src/localization/locales/en.json` (+2 -0) 📝 `packages/server/src/routes/docs.routes.ts` (+5 -1) </details> ### 📄 Description ## Why The settings overview guide documents Settings → General's **Language** (interface language) but never mentions the **Documentation Language** control that shipped in #4100 — a user reading the settings guide has no way to discover that the built-in guides can switch languages. Follow-up gap identified during the German pack review (#4157). ## What changed - `docs/settings/settings-overview.md`: one new bullet in the **App Behavior** list describing the control — separate from the interface language, English built in and never downloaded, **Download & Replace** downloads a language pack once and removes the previous one, `EN`-badge English fallback for untranslated guides, search in the active language, update survival with automatic pack refresh, and what **Fix documentation** actually does (re-downloads; resets to English only when the download source is unreachable). Wording verified against the implementation and the exact UI strings. - Companion (committed on `docs-i18n`, must land in the same change window as this PR): the bullet mirrored into the Spanish and German packs per CONTRIBUTING § Translated documentation, following each language's glossary; both manifests rebuilt and validated. - Directly coupled accuracy fix: the **Fix documentation** success toast previously always said "Documentation reset to English." even when the fix had re-downloaded the pack or only removed leftover packs. It now reports the actual outcome (two new `en.json` keys; community locales fall back to English). - Retired a stale server comment still describing the pre-#4100 in-repo `docs/i18n/` location. - `CHANGELOG.md`: Fixed entry. ## Validation done - `pnpm check` and `pnpm regression:docs` green; `pnpm localization:check` green after the key additions. - `scripts/docs-i18n/validate-pack.mjs` green for both packs (123/123 each, hashes rebuilt). - The three bullets were adversarially reviewed against the implementation (server fix/install endpoints, client states, exact `en.json` strings) and each pack's glossary and existing terminology (`insignia`/`paquete de idioma`, `Sprachpaket`/`EN`-Badge). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Added guidance for selecting and managing the documentation language, including translation downloads, English fallback behavior, update handling, and recovery options. * Clarified how translated documentation packs are stored and maintained. * **Bug Fixes** * Updated the “Fix documentation” notification to accurately describe whether documentation was re-downloaded, reset to English, or cleaned up. * Added clearer messages for successful documentation repairs and cleanup actions. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:08:41 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6259
No description provided.