feat(i18n): add Chinese localization support#5
Open
mel0nyrame wants to merge 1 commit into
Open
Conversation
- Add i18n infrastructure with i18next - Add Chinese translations for all UI strings (7 zh locale files) - Standardize technical terms per Claude Code official Chinese docs - Migrate 33 components to useTranslation - Add language selector in App Settings - Add Electron i18n support - Add README.zh-CN.md with language switcher links
Author
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.



Summary
Add Chinese (zh-CN) localization support to ClaudeWorks.
What this PR does
Checklist
RUN v3.2.4 /Users/mac/Desktop/claudeworks-main
✓ test/smoke.test.ts (7 tests) 120ms
Test Files 1 passed (1)
Tests 7 passed (7)
Start at 00:28:45
Duration 388ms (transform 62ms, setup 0ms, collect 70ms, tests 120ms, environment 0ms, prepare 42ms) — 7/7 tests passed
vite v5.4.21 building for production...
transforming...
✓ 378 modules transformed.
rendering chunks...
computing gzip size...
../../dist/ui/index.html 0.62 kB │ gzip: 0.37 kB
../../dist/ui/assets/index-DSakx-gL.css 140.71 kB │ gzip: 22.11 kB
../../dist/ui/assets/marketplace-CkHZd3qe.js 1.08 kB │ gzip: 0.79 kB
../../dist/ui/assets/scripts-CJeGqMiV.js 1.22 kB │ gzip: 0.83 kB
../../dist/ui/assets/marketplace-GwZyFS18.js 1.36 kB │ gzip: 0.64 kB
../../dist/ui/assets/scripts-BVGNvpAQ.js 1.49 kB │ gzip: 0.69 kB
../../dist/ui/assets/team-C9dTNvNa.js 1.99 kB │ gzip: 1.48 kB
../../dist/ui/assets/settings-BKySH4ee.js 2.50 kB │ gzip: 2.04 kB
../../dist/ui/assets/team-Bl4LKr07.js 2.66 kB │ gzip: 1.25 kB
../../dist/ui/assets/settings-C7tx4Qv2.js 3.69 kB │ gzip: 1.70 kB
../../dist/ui/assets/common-mahnc2BN.js 4.83 kB │ gzip: 3.02 kB
../../dist/ui/assets/common-DKDQ2wJ7.js 6.32 kB │ gzip: 2.55 kB
../../dist/ui/assets/profile-CJaBD0vP.js 6.83 kB │ gzip: 4.30 kB
../../dist/ui/assets/plugin-BVL2CFQF.js 7.51 kB │ gzip: 4.13 kB
../../dist/ui/assets/profile-BXxmRxEa.js 9.94 kB │ gzip: 3.88 kB
../../dist/ui/assets/plugin-BZSHJkpj.js 10.25 kB │ gzip: 3.67 kB
../../dist/ui/assets/index-DYJT0Z9h.js 710.79 kB │ gzip: 199.19 kB
✓ built in 1.11s — builds successfully
Files changed
56 files, +3661 / -896 lines