Repository navigation
feat(j5): J5's web and desktop screens in nine languages - #1297
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Jacksondr5
added a commit
that referenced
this pull request
Nov 29, 2026
The new label, pending label, failure and hover text go through msg() in ownerAskAction, which takes a resolver as #1297 has it, and web passes useMessages(). The catalogs carry the four keys in English until they are translated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
8 tasks done
Jacksondr5
added a commit
that referenced
this pull request
Nov 29, 2026
* feat(j5): Don't allow on a refused persona's ask, and on mobile An ask about a refused persona offered only Allow this once or a typed reply, and a typed "no" left the agent without a rule for what to do next. j5.inbox.declinePersona answers the ask with a fixed reply that keeps the persona blocked and tells the agent not to ask again or recreate it. It needs the same scope, access-gate entry and asking-thread check as allowPersonaOnce, grants nothing, and adds no escalation state, so a later allow_once is refused. Web and mobile show Don't allow beside Allow this once, and the refusal text says what a decline means. Closes #1292 Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(j5): Don't allow answers under its own command ids An Allow this once that reused a decline's request id replayed the decline's committed answer and then granted the escalation. The decline now answers under its own command-id prefix, so that Allow meets the closed ask instead. The eval case also forbids relaunching the same persona without allow_once, and the Inbox definition says who sees each button. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(j5): Don't allow's labels are translatable The new label, pending label, failure and hover text go through msg() in ownerAskAction, which takes a resolver as #1297 has it, and web passes useMessages(). The catalogs carry the four keys in English until they are translated. Co-Authored-By: Claude Opus 5.5 <[email protected]> * fix(j5): each kind of answer to an ask replays only itself Allow this once and a typed reply shared one command-id namespace, so an Allow that reused a typed answer's request id replayed that answer and then granted the escalation, though a typed reply never allows it. Allow now answers under its own prefix, as Don't allow does, so a reused id meets the closed ask and grants nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]> * feat(mobile): Don't allow's labels follow the app's language The mobile Inbox passes useMessages() to ownerAskAction, as web does. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
J5's shared client helpers built their labels as English strings, so web and mobile could not show them in the person's language. Each helper now marks its copy with msg() from gt-i18n and takes a resolve parameter that defaults to mFallback, as upstream's client-runtime helpers do. Sentences built from fragments become one ICU string with the same English. The untranslated-copy exclusion narrows to apps/mobile/src/j5 (FORK.md 129). Call sites keep English through mFallback until each folder's pass passes m or useMessages(). Refs #1180 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Helpers that built English from template literals, which the lint rule does not flag, now return msg() sentences too: the Inbox's source notices and count line, the waits-for-server line, persona swaps (optionally the whole sentence with the step's title), spawned-agent group summaries, and the peering check's reach errors and route lines. Refs #1180 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nslation
Every string in apps/web/src/j5/{sharing,skills,agents} is wrapped in
<T>, gt() or msg(), with sentences that were built from fragments
rewritten as one ICU string that renders the same English. Helpers called
in render take a resolver that defaults to m. The client-runtime helpers
get useMessages() in render and m in handlers. The join page's dead
invitationFor helper and its test go, since the page now renders whole
sentences.
Refs #1180
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The find bar's page was a fixed English HTML string, and its count was formatted in the sandboxed page. The main process now builds the page from msg() strings through desktop's m(), and sends the count's text. Refs #1180 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Every string `t3code/no-untranslated-copy` flags in apps/web/src/j5, outside sharing, skills and agents, is now wrapped with <T>, gt() or msg(), plus the fragment-built sentences and plurals the rule misses. The English renders unchanged. The lint exclusion narrows to apps/mobile/src/j5. The highlights palette entry becomes a hook so its title can translate, and the channel-switch helpers take the resolver updateEverything already holds. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…(part of #1180) Wires the client-runtime J5 helpers that now take a resolver: Fleet facts, the Inbox, worktree cleanup, archive warnings, platform notices and prompts, Crew notices and proposals, highlights, playbooks and peering. Crew notice and platform notice pieces become components so they can read the active language, and the credential note under a failed link checks the step's kind instead of its English title. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
#1180) Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Inbox's source notices, count line and waits-for-server line, Fleet's source notices, the Crew proposal card's persona swaps (now one sentence with the step title), spawned-agent group summaries, and the peering check's reach errors and route lines now render in the UI language. Refs #1180 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Generated with i18n:generate. Every locale holds the English text for the new keys until the translations are written. Refs #1180 Co-Authored-By: Claude Opus 5.5 <[email protected]>
German review: stand-ins such as "whole server", "this server", "each ticked server", "it", "moments" and "Access", and the level and skill category words, were translated on their own and then placed into other sentences, where German and Russian need a different case or article. Each such sentence is now whole per case: an ICU select on where the level is held, what is shared, which side is every ticked server, the level itself, or the skill category. A link request names the agent's server by its own label. The Crew context line has a sentence per kind. Refs #1180 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The sentence read "as a Owner" since before #1180. The six variants now say "an Owner", and the catalogs carry the new keys. Refs #1180 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…1180) The reviewed translations for J5's web, client-runtime and desktop copy go into the de, es, fr, ja, ko, pt-BR, ru, sv and zh catalogs. Where web and mobile share a client-runtime key, mobile's catalogs get the same words with their own element types. Refs #1180 Co-Authored-By: Claude Opus 5.5 <[email protected]>
- J5's newer-server and not-shared errors carry marked text, as upstream's do; the compatibility error reuses upstream's key. - A duplicated persona's prefilled name stays English: it is saved into the server's library. - The desktop find bar's page is rebuilt on each UI language switch and carries the language as its lang (FORK.md case 126). - The Share dialog's made-link sentences say "expires in moments" and "Access" again, inside each whole sentence. - "Just now" is decided from the elapsed time, not by comparing formatted text; answeredAgeLabel takes the flag. - FORK.md case 120 names both channel-switch helpers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Crew card and the seat editor showed the server's English access
label ("Full access") in every language. The server writes upstream's
runtime-mode label or a persona's "Read only", so the client now shows
the translated label for the seat's runtime mode, and the server's
words for anything else.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…o (part of #1180) The server's other persona access word now maps to its own key, beside "Read only". Every locale holds English until the translation lands. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s (part of #1180) Main's catalogs, regenerated for this branch's source, with the reviewed translations applied again. #1300's four new strings hold English until they are translated. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Jacksondr5
force-pushed
the
j5code/i18n-1180-web-a
branch
from
November 29, 2026 21:38
38bbecf to
dff44d8
Compare
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
T3 Code v0.1.11 ships its UI in nine languages (de, es, fr, ja, ko, pt-BR, ru, sv, zh), but J5's own screens were English only. They were exempt from
t3code/no-untranslated-copyuntil #1180, under FORK case 129. This PR translates J5's web, client-runtime and desktop copy, and narrows the exemption toapps/mobile/src/j5/**. Mobile follows in PR 2, and PR 3 retires the exemption.Part of #1180.
What changed
apps/web/src/j5,packages/client-runtime/src/j5and the desktop find bar (apps/desktop/src/j5) is wrapped asdocs/internals/i18n.mddescribes:<T>for JSX,useGT()/gt()for props,msg()in tables withuseMessages()where they render,m(msg())outside React, andresolve: MFunctionType = mFallbackparameters in client-runtime. That's about 1,750 wrap sites, including template literals and fragment-built sentences that the lint rule misses.selects, with one whole sentence per grammatical case. User content and server, project, thread and person names stay as variables.runtimeMode: upstream's translated runtime-mode label, or J5's "Read only" / "Repository write". The reasoning effort keeps the provider's own label, as upstream's composer does.en.jsononly adds keys (web +1,542, mobile +326 for client-runtime, desktop +6); none are removed or changed. Every upstream translation is byte-for-byte unchanged. Where a J5 string has the same English and context as an upstream string, it reuses upstream's key and translation. About 560 J5 seam strings thatj5/maincarried in English in every locale (such as "Playbooks", "Persona", "People", "Artifacts" and "Agent Setup") are now translated.i18n-1180/glossary.md, reviewed by a second model.i18n-1180/bakeoff-de.md.<T>node sets, brand names and glossary terms, run per language.i18n:checkis clean.UI changes
Captured at 1280×800 CSS pixels in the light theme, with the same invented data on both commits. Before is
bcc21e2b39(j5/main); after is the PR head. Thread names, agent-written messages, ask text and Crew briefs are test content, so they stay English.Fleet in German.
Inbox in German, with an open agent ask.
Crew in German, with a pending two-member roster. The after image was re-captured at
38bbecfc3e: the seat's access now reads "Vollzugriff".People in German, with three paired people.
Fleet in Japanese.
Inbox in Japanese, with an open agent ask.
Crew in Japanese, with a pending two-member roster. The after image was re-captured at
38bbecfc3e: the seat's access now reads "フルアクセス".People in Japanese, with three paired people.
Live testing
Pass. A tester Peer Agent (GPT-6.1 Sol) captured before at
bcc21e2b39and after ata9d0b295c1, on an isolated live-test home with invented data and one server at a time.Crew card: the first pass found English access labels ("Low · Full access"). Those were fixed in
323d7fa341/6bb0cdb0ea/38bbecfc3e. The Crew card was then re-captured at the head,38bbecfc3e. It reads "Haiku 5.5 · Low · Vollzugriff" in German and "Haiku 5.5 · Low · フルアクセス" in Japanese.What changed between
a9d0b295c1and the head: the access-label fix and the "Repository write" translation, both on the Crew card. The other three screens weren't re-tested, because nothing they render changed.What was exercised:
Real Claude Haiku turns created the ask and the Crew, and also ran on the head. Every after-screen was inspected. No translated control overlaps or overflows; long thread names and the agent-written brief truncate as before.
Not exercised live: the other seven locales, other J5 screens and dialogs, empty, error and loading states, launching, declining or editing a Crew, answering the ask, the Electron shell, mobile (PR 2), and remote, relay or peer connections. This was a bounded screenshot pass. The translation quality of all nine locales was checked by the scripted gates and the per-language back-translation review described above.
Not done: CodeRabbit skipped this PR, because 180 changed files exceed its 100-file limit. An independent Opus 5.5 and GPT-6.2 Sol code review covered the full non-catalog diff instead. It found 7 real issues, all fixed.
Nothing needs testing by hand.
Upstream impact
Each upstream file edit is one line or one call, recorded in FORK.md:
vite.config.ts: the exemption narrows toapps/mobile/src/j5/**(case 129).apps/web/src/components/ThreadSearchMatch.tsx: passesuseMessages()to the J5 match label (case 94).apps/web/src/components/CommandPalette.tsx:useHighlightsPaletteItems()replaces the constant table (case 75).apps/web/src/components/sidebar/updateEverything.logic.ts: both J5 guard lines pass the existingresolve(case 120).apps/web/src/components/chat/TimelineUserMessageRow.tsx:j5PromptRow(row.message, useMessages())(case 7).apps/desktop/src/i18n/messages.ts: a two-lineactiveUiLocaleexport, so the find bar page setslang(case 126).apps/web/src/components/ConfirmDialogHost.test.tsx: a J5-added test whose gt-react mock now resolves English throughgtFallback.This PR doesn't change what upstream's product does.
Heads-up for in-flight J5 web PRs: once this merges, unwrapped copy under
apps/web/src/j5andpackages/client-runtime/src/j5fails lint.Checklist
FORK.md(case text and file-table row) in this PRBuilt by builder Peer Agents on Claude Opus 5.5, translated by GPT-6.2 Sol, and reviewed by Claude Opus 5.5 and GPT-6.2 Sol, in J5 Code through the Claude Code and Codex harnesses.
🤖 Generated with Claude Code