ZuzeTt
ZuzeTt
Still true on 2.3.0 (Nov 2026): `packages/tui` ships no locale layer, and neither `opencode.json` nor `cli.json` exposes a `locale`/`language` key, so TUI strings are compiled into the binary. Two details...
@krotname — here is the inventory. It was generated from `packages/tui/src` at `26f2522` with a small AST pass (JSX text nodes, `title`/`label`/`message`/`placeholder`/`description` props, and object literals passed to toasts and...
Updated the data the way you described — same commit (`26f2522`), same gist, new revisions: - **Every occurrence**, not just the first: 801 unique strings, 885 `(surface, string)` pairs, 984...
That matches what the data says, so I applied the convention and pushed two derived files to the same gist: - **`conventions.md`** — a namespace per surface with examples: `sidebar.context.tokens`,...
Looked at `tui-i18n-sidebar` (`f6a0a18`). The message shape and the typed parameter plumbing look right — complete sentences, named parameters, `Object.hasOwn`, and the `$&` / `{toString}` tests cover the nasty cases....
Re-checked at `3878c0a` — both points are addressed, and the Russian fixture is the right shape (`1 / 2 / 5 / 21 / 1.5` plus the fallback case). Three...
Checked `3bdfd7e` — all three points are closed: - `PluralKey` is now an explicit `"sidebar.context.tokens"` with the boundary comment, so `.one`/`.other` stop being reserved suffixes and the conditional/`infer` chain is...
On where the setting lives: I would keep it client-side — `locale` in the TUI config (`cli.json`), not `opencode.json`. Reasons, in order of weight: 1. It is a display preference...
Thanks for the concrete case — portable use makes the client-side argument stronger: `cli.json` travels with the data directory, so a USB install keeps its language without touching any project...
Thanks — for #64400 the placeholder question is settled: `{{name}}` with params derived from the English template is the right shape. The remaining divergence is the sidebar branch (`krotname@e03349c`): it...