Repository navigation
Description
Needs your OK: this moves the account Settings and Connected apps pages' text into the catalog, in the organizer's language. English stays word for word the same. Swap pipeline:proposed for pipeline:ready to have it built.
What happens
About 30 English strings, hard-coded in:
src/app/app/(chrome)/settings/page.tsx: the page heading, "Signed in as", the Connected apps card, and the language form (its legend and help, Save, the switch button and its confirmation);settings/connected-apps/page.tsxanddisconnect-button.tsx: the list, its empty state, the dates line and the disconnect flow.
Some of it is glued from pieces:
- "Switch your {n} open {signup|signups} to {language}" and "Saved. Your {n} open {signup now uses|signups now use} {language}.";
- "Approved {date} · last used {date} · expires {date} unless renewed", built from three template strings.
Connected apps formats its dates with formatGrantDate(date, locale), which already takes a language, but the page passes const locale = 'en'.
Fix, in outline
- The rules from The organizer app ignores the organizer's language #937. One ICU message per sentence under
organizer.settingsandorganizer.connectedApps, with plural and select for the glued ones. English byte for byte as today. The files joinTRANSLATEDineslint.config.mjs. - The organizer's language from The organizer app ignores the organizer's language #937's helper, on both pages, and for
formatGrantDate. - Language names stay in their own language (
languageName(locale), marked withlang), so people find theirs whatever the page's language. The legend and help text are the wording The organizer app ignores the organizer's language #937 settles. - The disconnect button is a client component. Pass its few strings as props rather than mounting
ClientMessages: the page has no budget of its own and falls under*inbudgets.json(108 KB), which every unlisted page shares.
Watch for
- Overlap. Say an app is already disconnected on Connected apps #885 (disconnecting an app that's already gone) and Organizer screens show the server's English when a save is refused #939 (
?error=carries a code) touch the same connected-apps code. Whichever lands second has a small merge. - The help article on connecting an AI assistant shows this page, and its walkthrough finds controls by their English names. Unchanged English keeps it green.
Order
Built on the localization stack (top: #936); see #619. The language form comes from #904 and its switch button from #933. After #937, for the organizer's language helper and the setting's wording.
Gate
Auto. Nothing people see changes while only English ships, and no budget moves.
Done when
- With an organizer's stored test language (The organizer app ignores the organizer's language #937), both pages render that language's text and dates; with none stored, English.
- English is unchanged: the existing unit, e2e and help walkthrough specs pass without edits to their expected text.
- Both pages and the disconnect button are in
TRANSLATED. pnpm lint && pnpm format:check && pnpm typecheck && pnpm knip && pnpm testandpnpm build && pnpm budgetspass, with no budget raised.
Phase 2 of #619, from the owner's decisions of 14 and 15 November 2026 and a survey of the organizer code. Checked against the localization stack at 750e570 (top: #936), which isn't on main yet.
Activity