WORK-505
ID:WORK-505Status:ready

Localize layout chrome (Zone 3) and computed transforms (Zone 4)

The two server-side chrome surfaces that are visible on every page: ~14 layout strings and the 4 computed-navigation strings. Both already receive config-derived data, so this is mostly wiring resolveLocaleString.

Priority:highComplexity:simpleMilestone:v0.29.0Source:SPEC-035
claude/multi-language-support-spec-5zzt9q View source

Criteria completion

Criteria completion: 0 of 3 (0%) checked; tracking started on Jul 17, no incremental history yet0%25%50%75%100%Jul 17Jul 30

Tracking started Jul 17 — check back for trends.

Branches 2
claude/multi-language-support-spec-5zzt9q current ready
main doneclaude/milestone-v0-29-0-stzywk done
History 1
  1. d92ad0c
    Created (ready)by bjornolofandersson

Scope

  • Zone 3 — layout chrome (packages/transform/src/layouts.ts): resolve all visible text and aria-labels via resolveLocaleString with layout.* keys — "Open menu", "Close menu", "Search", "Menu", "Toggle navigation", "Navigation menu", "Page navigation", "Plan navigation", "Toggle color theme", "Jump to section", "Plan".
  • Zone 4 — computed transforms (packages/transform/src/computed.ts): buildToc()core.toc.title ("On this page"); buildPrevNext()core.prevNext.previous / .next; buildVersionSwitcher()core.versionSwitcher.label.
  • Pass the LocaleContext into the layout builders and computed functions.
  • Tests: a German locale renders translated chrome; missing keys fall back to English.

Acceptance Criteria

  • All Zone 3 layout strings and aria-labels resolve through resolveLocaleString with layout.* keys.
  • All Zone 4 computed strings resolve with core.* keys.
  • Zero-config English output unchanged.

Blocked by

  • WORK-502

References

  • SPEC-035 — Zones 3 & 4.