[PR #514] [MERGED] feat(memory-nag): add localized interface #1008

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

📋 Pull Request Information

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

Base: staging ← Head: feat/513-memory-nag-locales


📝 Commits (2)

  • 9a2a321 feat(memory-nag): add localized interface
  • 38f5b45 test(memory-nag): enforce locale text direction

📊 Changes

32 files changed (+944 additions, -38 deletions)

View changed files

➕ artifacts/memory-nag-1.0.1.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v3/catalog.json (+6 -6)
📝 packages/memory-nag/client.js (+8 -8)
➕ packages/memory-nag/locales/ar.json (+14 -0)
➕ packages/memory-nag/locales/de.json (+14 -0)
➕ packages/memory-nag/locales/es.json (+14 -0)
➕ packages/memory-nag/locales/fr.json (+14 -0)
➕ packages/memory-nag/locales/hi.json (+14 -0)
➕ packages/memory-nag/locales/ja.json (+14 -0)
➕ packages/memory-nag/locales/ko.json (+14 -0)
➕ packages/memory-nag/locales/pl.json (+14 -0)
➕ packages/memory-nag/locales/pt-BR.json (+14 -0)
➕ packages/memory-nag/locales/ru.json (+14 -0)
➕ packages/memory-nag/locales/zh-Hans.json (+14 -0)
📝 packages/memory-nag/manifest.json (+3 -3)
📝 packages/memory-nag/src/engine/packages/client/src/features/memory-nag/client-entry.tsx (+3 -1)
➕ packages/memory-nag/src/engine/packages/client/src/features/memory-nag/locales/ar.json (+59 -0)
➕ packages/memory-nag/src/engine/packages/client/src/features/memory-nag/locales/de.json (+59 -0)

...and 12 more files

📄 Description

Linked issue

Closes #513

Why this change

Memory Nag currently falls back to English throughout its package card and substantial in-chat interface. Users should be able to configure scans, manage the vault, and understand tracker state in the same language as Marinara Engine.

What changed

  • Added package/catalog metadata translations for all eleven non-English Engine locales.
  • Added complete localized UI catalogs for settings, scan progress, vault actions and confirmations, toolbar, tracker, empty states, and errors.
  • Made the package select its UI catalog from the host locale with English fallback and RTL support.
  • Added locale schema, key-set, and interpolation-token validation.
  • Rebuilt Memory Nag 1.0.1, its artifact, and catalog entries.

Validation

  • npm run check
  • node scripts/validate-package-locales.mjs
  • node scripts/test-catalog-lanes.mjs
  • node scripts/validate-catalog.mjs
  • npx tsx tests/memory-nag-selection.regression.ts
  • git diff --check
  • Read and followed CONTRIBUTING.md

Manual verification needed

  • Install or update Memory Nag 1.0.1 from a compatible staging Engine.
  • Switch among representative LTR, RTL, and regional locales and inspect Settings, scan progress, the vault, toolbar, and tracker panel.
  • Confirm missing or unsupported locales fall back to English.

Release impact

  • Generated package payload, manifest, ZIP artifact, and catalog entries are included.
  • No model prompt or user-authored memory content was translated.

Summary by CodeRabbit

  • New Features
    • Added Memory Nag translations for Arabic, German, Spanish, French, Hindi, Japanese, Korean, Polish, Brazilian Portuguese, Russian, and Simplified Chinese.
    • Added locale-aware fallback behavior and right-to-left language support across settings, vault actions, editing, scanning, and tracking.
  • Bug Fixes
    • Error messages now use the configured language.
  • Release
    • Updated Memory Nag to version 1.0.1 with refreshed package metadata.

🔄 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/514 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/23/2026 **Status:** ✅ Merged **Merged:** 8/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `feat/513-memory-nag-locales` --- ### 📝 Commits (2) - [`9a2a321`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9a2a321fe77011692b4eff7f3468213105c08537) feat(memory-nag): add localized interface - [`38f5b45`](https://github.com/Pasta-Devs/Marinara-Agents/commit/38f5b457e88f8a812af57f95bc8c080159202792) test(memory-nag): enforce locale text direction ### 📊 Changes **32 files changed** (+944 additions, -38 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/memory-nag-1.0.1.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `packages/memory-nag/client.js` (+8 -8) ➕ `packages/memory-nag/locales/ar.json` (+14 -0) ➕ `packages/memory-nag/locales/de.json` (+14 -0) ➕ `packages/memory-nag/locales/es.json` (+14 -0) ➕ `packages/memory-nag/locales/fr.json` (+14 -0) ➕ `packages/memory-nag/locales/hi.json` (+14 -0) ➕ `packages/memory-nag/locales/ja.json` (+14 -0) ➕ `packages/memory-nag/locales/ko.json` (+14 -0) ➕ `packages/memory-nag/locales/pl.json` (+14 -0) ➕ `packages/memory-nag/locales/pt-BR.json` (+14 -0) ➕ `packages/memory-nag/locales/ru.json` (+14 -0) ➕ `packages/memory-nag/locales/zh-Hans.json` (+14 -0) 📝 `packages/memory-nag/manifest.json` (+3 -3) 📝 `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/client-entry.tsx` (+3 -1) ➕ `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/locales/ar.json` (+59 -0) ➕ `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/locales/de.json` (+59 -0) _...and 12 more files_ </details> ### 📄 Description ## Linked issue Closes #513 ## Why this change Memory Nag currently falls back to English throughout its package card and substantial in-chat interface. Users should be able to configure scans, manage the vault, and understand tracker state in the same language as Marinara Engine. ## What changed - Added package/catalog metadata translations for all eleven non-English Engine locales. - Added complete localized UI catalogs for settings, scan progress, vault actions and confirmations, toolbar, tracker, empty states, and errors. - Made the package select its UI catalog from the host locale with English fallback and RTL support. - Added locale schema, key-set, and interpolation-token validation. - Rebuilt Memory Nag 1.0.1, its artifact, and catalog entries. ## Validation - [ ] `npm run check` - [ ] `node scripts/validate-package-locales.mjs` - [ ] `node scripts/test-catalog-lanes.mjs` - [ ] `node scripts/validate-catalog.mjs` - [ ] `npx tsx tests/memory-nag-selection.regression.ts` - [ ] `git diff --check` - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification needed - Install or update Memory Nag 1.0.1 from a compatible staging Engine. - Switch among representative LTR, RTL, and regional locales and inspect Settings, scan progress, the vault, toolbar, and tracker panel. - Confirm missing or unsupported locales fall back to English. ## Release impact - [ ] Generated package payload, manifest, ZIP artifact, and catalog entries are included. - [ ] No model prompt or user-authored memory content was translated. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Memory Nag translations for Arabic, German, Spanish, French, Hindi, Japanese, Korean, Polish, Brazilian Portuguese, Russian, and Simplified Chinese. * Added locale-aware fallback behavior and right-to-left language support across settings, vault actions, editing, scanning, and tracking. * **Bug Fixes** * Error messages now use the configured language. * **Release** * Updated Memory Nag to version 1.0.1 with refreshed package metadata. <!-- 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:33:11 +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#1008
No description provided.