fix(web): resolve shared i18n scope correctly #70
No reviewers
Labels
No labels
in-progress
in-review
ready-for-agent
seam-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
patrick/Polaris!70
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/shared-i18n-scope-loader"
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?
Description
Translated text under the shared UI scope (buttons, labels shared across every feature, like "Save" or "Add new") would not have loaded at runtime once the first feature actually used them — the app would silently request the wrong file and Transloco would fall back to showing the raw translation key instead of real text.
Related Issues
Closes #59.
Type of Change
Breaking Changes
None.
Test Plan
Added unit tests covering all four scope-resolution cases (shell, unscoped, a feature, and shared) against a mocked HTTP layer. Full frontend suite green (67 tests), lint clean, production build succeeds.
Checklist
docs/updated for any behavioural change — n/a, no doc described the old (broken) behaviourpolaris.domainAdditional Context
Filed as issue #59 while another ticket was working nearby and found this couldn't be fixed as part of that ticket (this file belongs to an earlier, already-merged ticket). Picked it up now since nothing else was actionable at the moment and it's a small, self-contained fix.
🤖 Generated with Claude Code
https://claude.ai/code/session_013YioTVKBPoE6thZqbnTtnM