Add Chinese translation for README and implement README translation script

- Created README.zh.md for Chinese localization of the project.
- Developed a README translation script to support multiple languages using Claude Agent SDK.
- Implemented CLI and programmatic usage for the translation tool.
- Added examples for integrating the translation tool into build scripts and CI/CD pipelines.
- Enhanced error handling and logging for translation processes.
- Included support for various languages and output customization options.
This commit is contained in:
Alex Newman
2025-12-12 00:58:36 -05:00
parent f154e32145
commit 25684ea8f7
9 changed files with 2220 additions and 2054 deletions
+3 -2
View File
@@ -46,10 +46,11 @@
"worker:logs": "tail -f ~/.claude-mem/logs/worker-$(date +%Y-%m-%d).log",
"changelog:generate": "node scripts/generate-changelog.js",
"usage:analyze": "node scripts/analyze-usage.js",
"usage:today": "node scripts/analyze-usage.js $(date +%Y-%m-%d)"
"usage:today": "node scripts/analyze-usage.js $(date +%Y-%m-%d)",
"translate-readme": "npx tsx scripts/translate-readme/cli.ts -v README.md zh ko ja"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.62",
"@anthropic-ai/claude-agent-sdk": "^0.1.67",
"@modelcontextprotocol/sdk": "^1.20.1",
"ansi-to-html": "^0.7.2",
"express": "^4.18.2",