Skip to content

Claude Code Zh Cn

Claude Code CLI 简体中文本地化 / 汉化插件;支持 macOS、Linux、WSL、Windows 与新版 native,一行安装,更新后自动修复。

Install: claude plugin install claude-code-zh-cn@claude-code-zh-cn --scope user

Works with Claude Code · 839 GitHub stars

Install

$claude plugin install claude-code-zh-cn@claude-code-zh-cn --scope user

Install command taken from the project's README or registry entry. Always review code before running it.

claude-code-zh-cn

Claude Code 简体中文本地化插件

让终端里的 Claude Code 彻底说人话 🇨🇳

English · 简体中文 · 官方网站 · Codex 中文版

187 个趣味 spinner 动词,41 条中文提示,回复耗时中文化;另有 2194 条界面翻译。

macOS · Linux · WSL · Windows

一行远程安装 · 启动自愈修复 · 会话内随时切中英文


📢 赞助商

claude-code-zh-cn × Infistar.cc 无限星河

跑 Claude Code 自动写代码与长会话,Token 消耗极大,还常卡在海外信用卡和 429 报错 💸。

推荐 Infistar 的中转服务,体验顺手:

  • ⚙️ 配置零成本:设好 ANTHROPIC_BASE_URL 即跑,全面兼容 Claude Code 与本地化插件。
  • 🏷️ 价格打穿底线:低至官方 0.1 折起,倍率透明,挂着 Agent 疯狂刷代码不心疼。
  • 🧩 主流模型聚合:Claude、DeepSeek、GPT、Gemini 一个 Key 全搞定。
  • 💳 国人友好:人民币直付免海外卡,支持开票,全模型可验真。
  • 🎁 专属福利:通过 专属推广通道 注册立送 $5 试跑额度,先领了跑几轮长会话测测代码生成效果 🚀!

🧐 为什么搞这个?

Claude Code 是个很顶的终端 AI 编程助手,但官方把整个界面硬编码在一个 13MB 的大文件里,短期内根本指望不上官方出中文。

敲代码已经够掉头发了,凭什么等待时还要面对冷冰冰的洋文 loading?

于是就有了这个项目 —— 一条命令,把终端界面、等待提示、耗时统计、系统通知全都变成地道中文,还把官方放飞自我的怪话动词全译成了中式幽默!


👀 效果预览

https://github.com/user-attachments/assets/ff572893-f927-402c-9217-f68f04f4c9d5

原版在装模作样地 Photosynthesizing...,现在直接:

⠙ 光合作用中...
💡 按 Shift+Tab 在默认模式、自动接受编辑模式和 Plan 模式之间切换

还有更多接地气的画风:

⠙ 蹦迪中...          ⠙ 七荤八素中...         ⠙ 搞事情中...
⠙ 瞎忙活中...        ⠙ 花里胡哨中...         ⠙ 变魔术中...

  琢磨了 1分23秒

装完即用,AI 回复也默认优先说中文。


⚡ 极速安装

选项 A:极速脚本(推荐)

macOS / Linux / WSL 用户直接在终端粘贴回车:

curl -fsSL https://github.com/taekchef/claude-code-zh-cn/releases/latest/download/install-remote.sh | bash

Windows 用户通过 PowerShell 运行:

git clone https://github.com/taekchef/claude-code-zh-cn.git
cd claude-code-zh-cn
powershell -NoProfile -ExecutionPolicy Bypass -File install.ps1

选项 B:通过 Claude Code 官方插件市场安装

如果你已经在用 Claude Code 的插件体系:

claude plugin marketplace add --scope user https://github.com/taekchef/claude-code-zh-cn
claude plugin install claude-code-zh-cn@claude-code-zh-cn --scope user

装好后重启一次 Claude Code,看到“光合作用中”或“思考中”即表示大功告成!


🔄 会话内无痛切换中英文(0 Token 消耗)

查英文资料、或者遇到疑难 bug 想跟海外社区对齐报错时,完全不需要卸载重装!

直接在 Claude Code 的输入框里输入:

命令 效果
/chinese(或 /zh) 瞬间切回中文界面与趣味提示
/english(或 /en) 瞬间切回原汁原味的英文界面

底层的 Hook 会在输入时直接拦截处理,不消耗任何 token,毫秒级响应。


🎭 187 个整活动词大赏

原版 Claude Code 的 loading 动词里藏了一堆开发者的精神状态(Flibbertigibbeting、Photosynthesizing、Moonwalking...)。我们绝不搞机翻,全按原汁原味的本土梗翻译:

英文原版 中文神翻 英文原版 中文神翻
Thinking 思考中 Moonwalking 太空步中
Photosynthesizing 光合作用中 Flibbertigibbeting 叽里呱啦中
Discombobulating 七荤八素中 Whatchamacalliting 那个啊来着中
Shenaniganing 搞事情中 Razzmatazzing 花里胡哨中
Boondoggling 瞎忙活中 Prestidigitating 变魔术中
Clauding 克劳丁中 Boogieing 蹦迪中
Canoodling 腻歪中 Spelunking 探洞中

完整 187 个翻译见 verbs/zh-CN.json


🛠️ 汉化覆盖与安全机制

功能模块 数量/规模 实现机制
AI 回复偏好 默认中文 language: Chinese
Spinner 动词 187 个 spinnerVerbs
Spinner 提示 41 条 spinnerTipsOverride
系统通知 6 条 Notification Hook 拦截翻译
UI 文字中文化 2314 条翻译,2.1.112 实测 1777 处有效 patch 字符串 Token 安全 Patch
防崩与降级 全自动 启动前校验,失败自动回滚英文,绝不损坏 CLI

展开查看:四层架构技术原理(怎么做到既汉化又不搞崩 CLI?)

Claude Code 的 UI 文字硬编码在 13MB 的压缩文件内。我们通过分层解耦实现无损汉化:

Similar plugs

Orca is the ADE for working with a fleet of parallel agents. Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

PluginDev tools+6,803 this week

Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.

PluginAI & LLM tooling+4,707 this week

Open source Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents. Built for multitasking, organization, and programmability.

PluginDev tools+87 this week

Orchestrate Claude, Codex and Grok in one app. Open-source (MIT), reuses the subscriptions you already pay for.

Superset is an agentic IDE to orchestrate 100+ coding agents in parallel. Run any agent with your own subscription.

Explore related