feat(i18n): add Traditional Chinese (zh-TW) support#190
Open
TaichiS wants to merge 5 commits into
Open
Conversation
- Add zh-TW locale with 17 translation files (747 lines) - Update language constants to include zh-TW - Add zh-TW language detection and AI output directive - Create README_zh-TW.md with Taiwan localization - Update all README files to include zh-TW language links - Add comprehensive tests for zh-TW translations - Update CLI help text to show zh-TW option - Fix TypeScript type for LANG_HINT_KEYS in prompts.ts BREAKING CHANGE: None (backward compatible) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
- Add 4 output-style templates for Claude Code (zh-TW) - engineer-professional.md - laowang-engineer.md - nekomata-engineer.md - ojousama-engineer.md - Add 4 system-prompt templates for Codex (zh-TW) - engineer-professional.md - laowang-engineer.md - nekomata-engineer.md - ojousama-engineer.md - All templates fully translated from zh-CN to zh-TW - Technical terms and programming principles preserved - Character personalities and styles maintained - All CI/CD checks passed locally (lint, typecheck, tests, build)
- Add scripts/resolve-catalog.mjs to convert pnpm catalog references - Update prepublishOnly to auto-resolve before publishing - Bump version to 3.3.1-tw.4 - Fixes EUNSUPPORTEDPROTOCOL error when using npx zcf-tw 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Collaborator
|
感謝提供繁體中文翻譯pr👍,目前正在製作新版的文檔站,完成後會採納這個分支的大部分修改 |
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
This PR adds comprehensive Traditional Chinese (zh-TW) support to ZCF, enabling Taiwan users to use the application in their native language.
✨ Changes
Core i18n System
src/constants.tsto include zh-TW inSUPPORTED_LANGSTranslation Files (17 files, 747 lines)
src/i18n/locales/zh-TW/Documentation
README_zh-TW.md(44KB) with complete Taiwan Chinese documentationTesting
🧪 Testing
npx zcf --lang zh-TW --help📸 Screenshots (Optional)
You can test the zh-TW interface by running: