Skip to content

fix: complete Chinese (zh/zht) i18n translations for app, console, and ui packages - #31666

Closed
ghost wants to merge 3 commits into
devfrom
unknown repository
Closed

fix: complete Chinese (zh/zht) i18n translations for app, console, and ui packages#31666
ghost wants to merge 3 commits into
devfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Jun 10, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #31660

Type of change

  • Bug fix

What does this PR do?

Fixes missing and incorrect Chinese translations across 3 packages (app, console, ui) for both Simplified Chinese (zh) and Traditional Chinese (zht).

Changes:

  • Added 93 missing keys to packages/app/src/i18n/zh.ts (WSL onboarding, settings, error messages, etc.)
  • Added 103 missing keys to packages/app/src/i18n/zht.ts (same as above plus home page keys)
  • Added 2 missing keys to packages/console/app/src/i18n/zh.ts and zht.ts (nav.go, common.contactUs)
  • Added 6 missing keys to packages/ui/src/i18n/zh.ts and zht.ts (sessionReview/diffs keys)
  • Fixed common.continue mistranslation: "提交" → "继续" (zh) / "繼續" (zht)
  • Translated terminalFont settings that were left in English

How did you verify your code works?

Wrote a Node.js script that extracts all keys from en.ts and compares against zh.ts/zht.ts in each package. Before fixes: 93/103/2/2/6/6 missing keys. After fixes: 0 missing keys across all packages.

Screenshots / recordings

N/A - translation-only changes, no UI modifications.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

- Add 93 missing keys to packages/app zh.ts and 103 to zht.ts
- Add 2 missing keys to console zh.ts and zht.ts
- Add 6 missing keys to ui zh.ts and zht.ts
- Fix common.continue mistranslation
- Translate terminalFont settings that were left in English

Closes #31660
@ghost
ghost requested review from Brendonovich and Hona as code owners June 10, 2026 10:43
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Jun 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@ghost ghost closed this by deleting the head repository Jun 29, 2026
This pull request was closed.
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.

中文翻译不完善:缺少 101 个翻译键及 3 处错误翻译(涵盖经典主题和新设计)

0 participants