Skip to content
Toolkit

CLOSE — 005-i18n

Closed: 2026-08-29 · Status: DONE

The charter's objective, verified rather than asserted: the strings are extracted, the server can deliver a catalogue, and the language control is back and honest — a user who selects a language reads what an operator translated, and the string reaching the screen came from the database.

The charter's own bar, phase by phase

PhaseDone when (charter)State
00 — The catalogue reaches the clientThe public read serves what an admin storedMet. ListActive selected a literal '{}' where the three admin reads beside it selected the column, and an empty catalogue vanished under omitempty — absent was indistinguishable from a server that served none, which is how the defect stayed invisible (ADR-0079, #280)
01 — Ratchet scopeThe counter reads where the strings are, re-baselined in the same commit with a movement rowMet. studio/packages/react/src/**/*.jsx beside apps/web/src's .tsx; 1,668 → 1,695, a widening and not a regression — 002 moved those 27 strings out of the counter's view and none was written here (ADR-0080, #281)
02 — ExtractionOne surface per PR, each slice lowering the baseline in the commit that extracts itMet. Ninety-nine slices, 1,695 → 82, 2,895 call sites over 2,778 keys. The 82 that remain are audited residue — sample values, proper nouns, product names, pixel dimensions — each correctly hardcoded and correctly counted. Studio counts zero: it cannot import the app's i18next, so it declares its chrome text once and one provider replaces it (ADR-0086), and a sentence with emphasis inside it is one key, never two fragments (ADR-0085)
03 — The Settings dropdownOne namespace and one store, or archivedMet, as an archival. It offered seven hardcoded English names against ISO codes everywhere else and wrote them to users.language — a column a census of both trees found no reader for at all. Archived rather than rewired, with the namespace phase 04 would inherit settled in the same ADR (ADR-0082, #284)
04 — The control returnsA live E2E asserts that switching language changes rendered text and that the text came from the database, not a bundled literalMet, on a running stack. Two slices: the first paint no longer waits for a catalogue (ADR-0087), and the control returned with controlAllowed released (ADR-0088, #388). The live spec that held the control unmounted now asserts the same property from the other side, against a string minted per run and absent from every bundle (evidence .station/jobs/005-i18n/evidence/phase-04-running-stack-2026-08-29.md)

What the track decided, and what it refused to

A control that offers one language is the same lie in a smaller size. The control draws nothing until the server carries a second language, because a deployment decides what is translated and a stock database has no languages row at all (ADR-0088). Shipping an unconditional select would have put ADR-0010's defect back on a fresh install, harder to see for being genuinely wired.

The release was a committed act, never a side effect. Rule 1 stopped lifting itself on the first t() call site after the first slice showed why — 45 keys against 1,657 hardcoded strings is not a control that changes what a user reads (ADR-0081). It was released once, with the evidence that earns it, and it was watched refusing this very control .station/jobs/005-i18n/evidence/language-control-2026-08-29.md before the flag was set.

Extraction kept English byte for byte. Four copy defects surfaced on the way — a hint naming a button that no longer exists, a Mcardsite left by a find-and-replace, "biolink" where the glossary says bio page, raw enums drawn through a CSS capitalize — and every one of them is a product call, listed in SESSION.md rather than fixed inside a slice that had no authority to change copy.

What this track deliberately does not carry forward as work

The open items in SESSION.md stay listed and stay unowned by this track. Three want a product or vocabulary decision before any code — the status-chip vocabulary, humanizeLabel()'s credential labels, and the four copy fixes above. Two are one PR each whenever they neighbour work in hand: the Intl formatting family (weekday and month names, timeAgo, money and byte suffixes), and Studio's English prop defaults with Pagination's caller-supplied noun. One is new this run and is seed data: scripts/seed-users.sql writes language = 'english', the namespace ADR-0082 retired — harmless, and observed being harmless, because the control adopts a profile's code only when the catalogue offers it.

Two items belong to other tracks and are named here so they are not lost: the anonymous language read still serves the whole row, which is the /api/v2/ shape question ADR-0078/0079 parked; and the generic link write path takes a password with no capability check, which is 004's.

Scoreboard, at close

$ node scripts/check-i18n-coverage.mjs
i18n coverage OK — 82 hardcoded strings (baseline 82), 2895 t() call sites over
2778 English keys, a language control may be mounted.

1,695 → 82 hardcoded, 0 → 2,895 call sites, controlAllowed false → true. Every movement of the first two is recorded with its reason in scripts/i18n-baseline.json's note; the release is recorded under The release in .station/jobs/001-renaissance/evidence/i18n-baseline.md.

Source: .station/jobs/005-i18n/reports/CLOSE.md

Library