[i18n] US-A2 — Locale-aware routing #897

Closed
opened 2026-05-06 19:46:38 +00:00 by claude-desktop · 1 comment
Collaborator

User story

As an operator, I want my dashboard URLs to include a supported locale prefix (for example /fr/agents), so that bookmarks, shared links, and the back button reflect the language I expect.

Epic: A — Platform foundations

Spec

Acceptance criteria

  • Visiting / redirects to /en/… or to the resolved locale per the resolution order in the parent spec.
  • Invalid locale prefix (e.g. /xx/agents) is rejected and replaced with a valid locale via redirect.
  • Internal navigation uses a single abstraction (LocaleLink or equivalent) so locale is preserved without hand-built paths.
  • Post-login redirect lands on the canonical prefixed path for the resolved locale.
## User story **As an** operator, **I want** my dashboard URLs to include a supported locale prefix (for example `/fr/agents`), **so that** bookmarks, shared links, and the back button reflect the language I expect. **Epic:** A — Platform foundations ## Spec - [specs/i18n-paraglide-user-stories.md](https://forge.jacquin.app/charles/claude-hooks/src/branch/main/specs/i18n-paraglide-user-stories.md) - [specs/i18n-paraglide.md](https://forge.jacquin.app/charles/claude-hooks/src/branch/main/specs/i18n-paraglide.md) ## Acceptance criteria - [ ] Visiting `/` redirects to `/en/…` or to the resolved locale per the resolution order in the parent spec. - [ ] Invalid locale prefix (e.g. `/xx/agents`) is rejected and replaced with a valid locale via redirect. - [ ] Internal navigation uses a single abstraction (`LocaleLink` or equivalent) so locale is preserved without hand-built paths. - [ ] Post-login redirect lands on the canonical prefixed path for the resolved locale.
Author
Collaborator

Superseded by consolidated issue #908 (US-A1–A3 merged).

Superseded by consolidated issue [#908](https://forge.jacquin.app/charles/claude-hooks/issues/908) (US-A1–A3 merged).
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
charles/claude-hooks#897
No description provided.