[GH-ISSUE #4806] [Issue]: Complete localization coverage for dynamic Home widget content #2652

Closed
opened 2026-10-21 05:52:14 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Aug 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4806

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The rebuilt Home surface is mostly wired into localization, but not every user-facing string shown by its widgets is localizable.

Audit results on current staging:

  • 115 Home keys referenced by the new Home components exist in the canonical English catalog; none are missing.
  • Home widget titles, descriptions, buttons, empty/error states, the widget manager, navigation assistant, accessibility labels, Clock & Calendar labels, and Community/Learn actions use localization keys.
  • pnpm localization:ui-check passes.
  • Community locale catalogs are intentionally partial and correctly fall back to English; this issue should not copy English into every locale.

Two dynamic paths still bypass localization:

  1. Achievement titles and descriptions come from English strings in packages/shared/src/constants/achievements.ts. HomeAchievements.tsx and achievement unlock toasts render those values directly.
  2. Discovery Desk and package-owned Home tabs render manifest.name, manifest.description, and contributions.homeBrowserTab.label directly. Official package metadata therefore has no locale-aware presentation contract.

User-authored content such as chat titles, character names, and third-party package metadata may continue to display as authored.

Expected behavior

Every official, maintained piece of Home UI copy should resolve through semantic localization keys or locale-aware package metadata, with canonical English fallback.

Acceptance criteria

  • Achievement definitions expose stable localization identifiers instead of requiring direct English rendering.
  • Ranked achievement descriptions use proper interpolation and pluralization for their targets.
  • Home Achievements and achievement unlock toasts resolve the same localized title.
  • The capability package contract supports optional localized display metadata for official package names, descriptions, and Home tab labels.
  • Discovery Desk and package tabs select the active locale with a canonical manifest fallback for third-party packages.
  • Official Noodle/package metadata is updated in Marinara-Agents or tracked in a linked cross-repository follow-up.
  • User-authored/entity content is not incorrectly passed through UI translation.
  • Regression coverage verifies a non-English locale and English fallback behavior.
  • pnpm localization:check and the static UI localization audit pass.

Additional context

Follow-up to #4763 and #4780. The audit was requested specifically to verify localization coverage for the new Home widgets.

Current catalog coverage counts are 162 home.* keys in English, 40 in German, 46 in Korean, and 40 in Polish. Partial community translations are expected; the defect is dynamic official copy that cannot be translated at all.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4806 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The rebuilt Home surface is mostly wired into localization, but not every user-facing string shown by its widgets is localizable. Audit results on current staging: - 115 Home keys referenced by the new Home components exist in the canonical English catalog; none are missing. - Home widget titles, descriptions, buttons, empty/error states, the widget manager, navigation assistant, accessibility labels, Clock & Calendar labels, and Community/Learn actions use localization keys. - `pnpm localization:ui-check` passes. - Community locale catalogs are intentionally partial and correctly fall back to English; this issue should not copy English into every locale. Two dynamic paths still bypass localization: 1. Achievement titles and descriptions come from English strings in `packages/shared/src/constants/achievements.ts`. `HomeAchievements.tsx` and achievement unlock toasts render those values directly. 2. Discovery Desk and package-owned Home tabs render `manifest.name`, `manifest.description`, and `contributions.homeBrowserTab.label` directly. Official package metadata therefore has no locale-aware presentation contract. User-authored content such as chat titles, character names, and third-party package metadata may continue to display as authored. ## Expected behavior Every official, maintained piece of Home UI copy should resolve through semantic localization keys or locale-aware package metadata, with canonical English fallback. ## Acceptance criteria - [ ] Achievement definitions expose stable localization identifiers instead of requiring direct English rendering. - [ ] Ranked achievement descriptions use proper interpolation and pluralization for their targets. - [ ] Home Achievements and achievement unlock toasts resolve the same localized title. - [ ] The capability package contract supports optional localized display metadata for official package names, descriptions, and Home tab labels. - [ ] Discovery Desk and package tabs select the active locale with a canonical manifest fallback for third-party packages. - [ ] Official Noodle/package metadata is updated in Marinara-Agents or tracked in a linked cross-repository follow-up. - [ ] User-authored/entity content is not incorrectly passed through UI translation. - [ ] Regression coverage verifies a non-English locale and English fallback behavior. - [ ] `pnpm localization:check` and the static UI localization audit pass. ## Additional context Follow-up to #4763 and #4780. The audit was requested specifically to verify localization coverage for the new Home widgets. Current catalog coverage counts are 162 `home.*` keys in English, 40 in German, 46 in Korean, and 40 in Polish. Partial community translations are expected; the defect is dynamic official copy that cannot be translated at all. ## Template check - [ ] I DID NOT read this template and provide the requested details.
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#2652
No description provided.