[PR #271] [MERGED] Prepare package localization catalogs #887

Closed
opened 2026-10-20 17:32:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/271
Author: @SpicyMarinara
Created: 8/8/2026
Status: ✅ Merged
Merged: 8/8/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/270-agent-localization-catalogs


📝 Commits (3)

  • 4706a76 Start agent localization catalogs
  • 90000c7 feat: prepare agent metadata localization catalogs
  • 32a5a54 fix: harden localization catalog validation

📊 Changes

41 files changed (+989 additions, -1 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+3 -0)
📝 AGENTS.md (+1 -1)
📝 CONTRIBUTING.md (+15 -0)
📝 README.md (+6 -0)
➕ packages/background/locales/en.json (+17 -0)
➕ packages/card-evolution-auditor/locales/en.json (+17 -0)
➕ packages/character-tracker/locales/en.json (+17 -0)
➕ packages/chess/locales/en.json (+17 -0)
➕ packages/combat/locales/en.json (+17 -0)
➕ packages/continuity/locales/en.json (+17 -0)
➕ packages/conversation-calls/locales/en.json (+17 -0)
➕ packages/custom-tracker/locales/en.json (+17 -0)
➕ packages/cyoa/locales/en.json (+17 -0)
➕ packages/director/locales/en.json (+17 -0)
➕ packages/echo-chamber/locales/en.json (+43 -0)
➕ packages/eightball/locales/en.json (+17 -0)
➕ packages/expression/locales/en.json (+17 -0)
➕ packages/haptic/locales/en.json (+17 -0)
➕ packages/hierarchical-maps/locales/en.json (+17 -0)
➕ packages/html/locales/en.json (+17 -0)

...and 21 more files

📄 Description

Linked issue

Closes #270

Why this change

Downloadable Agent names, descriptions, and named prompt options are package-owned English strings with no canonical translation source. Contributors need stable, reviewable locale files before Korean or other translations can be prepared.

What changed

  • Added packages/<id>/locales/en.json for all 31 downloadable packages.
  • Covered package and installed-Agent names/descriptions plus user-visible named prompt-option labels; model instructions remain deliberately untranslated.
  • Added a shared JSON schema, deterministic sync helper, and validation for English parity, BCP 47 locale filenames, partial translations, stable Agent IDs, and stable prompt-template IDs.
  • Wired catalog builders to refresh canonical English catalogs and added localization validation to pull-request CI.
  • Documented the package/Engine boundary and the workflow for a Korean or other locale contribution.

Package and security impact

  • Affected package IDs: all downloadable catalog packages
  • Permissions, entrypoints, runtime behavior, and Engine compatibility: unchanged
  • Artifacts and catalog lanes: unchanged; these repository-owned translation sources are not included in package archives yet
  • Engine integration: a separate Engine change will be required before Agents → Download Agents consumes localized metadata

Automated evidence

  • node scripts/sync-package-locales.mjs --check
  • node scripts/validate-package-locales.mjs
  • node scripts/test-catalog-lanes.mjs
  • node scripts/validate-catalog.mjs
  • node --check for the three new scripts
  • git diff --check

All commands passed locally. Catalog validation still reports 31 packages (22 agents and 9 features) in both v2 and v3 lanes.

Validation checklist

  • Installed or updated affected packages through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual package installation is not required for this metadata-only preparation because no archive, manifest, catalog entry, executable payload, or Engine runtime changed. Checklist boxes remain unchecked for human verification.

Summary by CodeRabbit

  • New Features
    • Added English localization catalogs for package names, descriptions, agent details, and supported prompt templates.
    • Added structured localization support for package metadata, including locale and text-direction information.
  • Documentation
    • Documented package localization sources, translation guidelines, English fallback behavior, and contribution requirements.
  • Validation
    • Added automated checks to detect missing, invalid, or outdated localization catalogs and keep generated translations consistent.

🔄 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-Agents/pull/271 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/8/2026 **Status:** ✅ Merged **Merged:** 8/8/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/270-agent-localization-catalogs` --- ### 📝 Commits (3) - [`4706a76`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4706a76a91833fc2902d35d1ecda8dc784f9c2aa) Start agent localization catalogs - [`90000c7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/90000c7995c5e4508ffabe9088e7c8ca5f086206) feat: prepare agent metadata localization catalogs - [`32a5a54`](https://github.com/Pasta-Devs/Marinara-Agents/commit/32a5a54c16bb78cbf8c479dd577fd748fc4f47c6) fix: harden localization catalog validation ### 📊 Changes **41 files changed** (+989 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+3 -0) 📝 `AGENTS.md` (+1 -1) 📝 `CONTRIBUTING.md` (+15 -0) 📝 `README.md` (+6 -0) ➕ `packages/background/locales/en.json` (+17 -0) ➕ `packages/card-evolution-auditor/locales/en.json` (+17 -0) ➕ `packages/character-tracker/locales/en.json` (+17 -0) ➕ `packages/chess/locales/en.json` (+17 -0) ➕ `packages/combat/locales/en.json` (+17 -0) ➕ `packages/continuity/locales/en.json` (+17 -0) ➕ `packages/conversation-calls/locales/en.json` (+17 -0) ➕ `packages/custom-tracker/locales/en.json` (+17 -0) ➕ `packages/cyoa/locales/en.json` (+17 -0) ➕ `packages/director/locales/en.json` (+17 -0) ➕ `packages/echo-chamber/locales/en.json` (+43 -0) ➕ `packages/eightball/locales/en.json` (+17 -0) ➕ `packages/expression/locales/en.json` (+17 -0) ➕ `packages/haptic/locales/en.json` (+17 -0) ➕ `packages/hierarchical-maps/locales/en.json` (+17 -0) ➕ `packages/html/locales/en.json` (+17 -0) _...and 21 more files_ </details> ### 📄 Description ## Linked issue Closes #270 ## Why this change Downloadable Agent names, descriptions, and named prompt options are package-owned English strings with no canonical translation source. Contributors need stable, reviewable locale files before Korean or other translations can be prepared. ## What changed - Added `packages/<id>/locales/en.json` for all 31 downloadable packages. - Covered package and installed-Agent names/descriptions plus user-visible named prompt-option labels; model instructions remain deliberately untranslated. - Added a shared JSON schema, deterministic sync helper, and validation for English parity, BCP 47 locale filenames, partial translations, stable Agent IDs, and stable prompt-template IDs. - Wired catalog builders to refresh canonical English catalogs and added localization validation to pull-request CI. - Documented the package/Engine boundary and the workflow for a Korean or other locale contribution. ## Package and security impact - Affected package IDs: all downloadable catalog packages - Permissions, entrypoints, runtime behavior, and Engine compatibility: unchanged - Artifacts and catalog lanes: unchanged; these repository-owned translation sources are not included in package archives yet - Engine integration: a separate Engine change will be required before **Agents → Download Agents** consumes localized metadata ## Automated evidence - `node scripts/sync-package-locales.mjs --check` - `node scripts/validate-package-locales.mjs` - `node scripts/test-catalog-lanes.mjs` - `node scripts/validate-catalog.mjs` - `node --check` for the three new scripts - `git diff --check` All commands passed locally. Catalog validation still reports 31 packages (22 agents and 9 features) in both v2 and v3 lanes. ## Validation checklist - [ ] Installed or updated affected packages through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` Manual package installation is not required for this metadata-only preparation because no archive, manifest, catalog entry, executable payload, or Engine runtime changed. Checklist boxes remain unchecked for human verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added English localization catalogs for package names, descriptions, agent details, and supported prompt templates. * Added structured localization support for package metadata, including locale and text-direction information. * **Documentation** * Documented package localization sources, translation guidelines, English fallback behavior, and contribution requirements. * **Validation** * Added automated checks to detect missing, invalid, or outdated localization catalogs and keep generated translations consistent. <!-- 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-20 17:32:00 +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-Agents#887
No description provided.