Repository navigation
feat(fork): translate ++ screens into every locale - #152
Merged
Merged
Conversation
Wrap the fork-owned copy in apps/{web,mobile}/src/plusplus and the five
fork strings in upstream settings files with <T>, gt() and msg(), add the
new catalog keys with hand translations for de, es, fr, ja, ko, pt-BR, ru,
sv and zh, and drop the lint exclusion that let ++ copy skip
t3code/no-untranslated-copy.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Other scenariosAll 64 scenario measurements match All 64 scenario measurements
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
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.
The v0.1.11 merge translated upstream's UI. Fork-owned (++) copy stayed English:
vite.config.tsexcludedapps/*/src/plusplus/**fromt3code/no-untranslated-copy, and five fork strings in upstream settings files carried disable comments.What changed
vite.config.tsno longer exempts ++ paths.vp run i18n:untranslatedreports 0 for web, mobile and client-runtime.resolve: MessageResolver = m(upstream pattern), and components passuseMessages().settingsSearch.tsnow usemsg()fortitleandsearchTerms. "Fork version" inAboutVersionTitle.tsxand the GitHub Releases message inUpdateTrackSwitchDialog.tsxare wrapped too. All five disable comments are gone.gt generate, which added 100 web keys and 23 mobile keys and removed none. Every new key is hand-translated into de, es, fr, ja, ko, pt-BR, ru, sv and zh. On Windows,gt generatereorders the whole catalog, so I rebuilt each file in main's key order. The catalog diffs are additions only.buildUpstreamMergePromptis a prompt sent to an agent, so it keeps English with a reasoned disable comment. Repository names, tags, environment names, revisions and error details are passed as variables.Registry (
plusplus/seams.json)generatedentries for the 10 mobile catalogs (generated.mobile-i18n-catalog-*).[128, 6]. Theirreasonnow mentions the added ++ translations.settingsSearch.ts[23, 0],AboutVersionTitle.tsx[2, 3],UpdateTrackSwitchDialog.tsx[20, 14](raised by 4),vite.config.ts[0, 2].Not covered
sourceLabel,refreshOutcomeMessageandATTRIBUTION_TEXT(for example "Cached upstream", "Refresh updated. … is active.") come frompackages/plusplus. The base package has no GT dependency and is not in either app'sgt.config.jsonscan, and the lint rule does not cover it. Translating them would need a client-side copy sibling, which is a separate change.Verification
vp run i18n:check: passes (run from a scratch copy that spawnsgt.cmdwithshell: true, since the script cannot spawn gt on Windows).vp run check:changed: format, lint, knip, typecheck (44 packages), tests (15 files) and react compiler pass. Fork Boundaries failed only on a WindowsFilename too longunder.repos/. Rerun directly withcore.longpaths=true, it passes.vp test runon ++ tests: web unit 188 passed, web browser 46 passed (5 files), mobile 17 passed. No tests were removed or changed.Model and harness: Claude Opus 5.5 via Claude Code in T3 Code.
🤖 Generated with Claude Code