Skip to content

feat(i18n): internationalize the v2 shell — 12 components, Phase 2 - #719

Merged
lilyshen0722 merged 3 commits into
mainfrom
feat/v2-i18n-sweep
Jul 22, 2026
Merged

feat(i18n): internationalize the v2 shell — 12 components, Phase 2#719
lilyshen0722 merged 3 commits into
mainfrom
feat/v2-i18n-sweep

Conversation

@lilyshen0722

Copy link
Copy Markdown
Contributor

Global-translation Phase 2: every remaining v2 surface's user-facing strings extracted to t(), with en + zh-CN drafts. Follows #715's infra + landing.

Coverage (one namespace per component): admin users + analytics, pod inspector, marketplace + detail, compare, showcase, agent BYO, agent profile, pods sidebar, feedback menu, your-team. ~511 new keys.

Invariants

  • en.json and zh-CN.json verified to have IDENTICAL key sets (no raw-key renders).
  • Backend enum values, API paths, brand/runtime names (OpenClaw, Codex, Pod, GitHub…), and dynamic user data left untranslated by design.
  • zh drafted against the zh-cn-ui-localization skill glossary; a native-voice polish pass + Sam's translation review gate precede merge.

Deferred: V2MessageBubble (a pre-existing message._id type issue predates this PR; redone as a small follow-up).

Tests: 21 v2 suites / 81 pass. Lint: 0 errors. Post-merge: live browser check of a few translated surfaces (admin, marketplace, inspector) in zh.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DMeWzgFxsfBcjoLVLewEES

lilyshen0722 and others added 3 commits July 22, 2026 12:17
…Phase 2)

Global-translation sweep: extracts every user-facing string from the
remaining v2 surfaces into react-i18next t() calls, with en + zh-CN drafts
under one namespace per component. en and zh-CN locale files verified to
have IDENTICAL key structure (no raw-key renders).

Components: admin users + analytics, pod inspector, marketplace + detail,
compare, showcase, agent BYO connect, agent profile, pods sidebar,
feedback menu, your-team. (message bubble deferred — a pre-existing type
issue in that file, redone as a follow-up.)

zh drafted against the zh-cn-ui-localization skill glossary (agent=智能体,
Pod stays English, memory=记忆, 你 not 您, …); a native-voice polish pass
+ Sam's review gate still precede merge. Backend enum values, API paths,
brand/runtime names, and dynamic user data deliberately left untranslated.

Tests: 21 v2 suites / 81 pass. Lint: 0 errors.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DMeWzgFxsfBcjoLVLewEES
Value-only pass over the Phase-2 zh strings (keys unchanged, parity holds):
token→令牌 (auth context), Waitlist→等候名单, agent→智能体 consistency,
Pod capitalization, CJK/Latin dash spacing, de-calquing. From the
zh-cn-ui-localization skill's two-pass review; Sam-approved direction.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DMeWzgFxsfBcjoLVLewEES
@samxu01
samxu01 force-pushed the feat/v2-i18n-sweep branch from 2633907 to 7f49152 Compare July 22, 2026 19:18
@lilyshen0722
lilyshen0722 merged commit 2526db6 into main Jul 22, 2026
10 checks passed
@lilyshen0722
lilyshen0722 deleted the feat/v2-i18n-sweep branch July 22, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant