claude-desktop-zh-localize SKILL.md skillA
claude-desktop-zh-localize from javaht/claude-desktop-zh-cn is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add javaht/claude-desktop-zh-cn/claude-desktop-zh-localize@git:20261011.c98a912Pins git:20261011.c98a912 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- javaht/claude-desktop-zh-cn
- Path
skills/claude-desktop-zh-localize/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261011.c98a912, committed Oct 11, 2026
- First version recorded
- Sep 25, 2026
- Size
- 10,891 bytes
- Repository stars
- 8,267
- License
- MIT
为 claude-desktop-zh-cn 项目补全 Claude Desktop 未汉化界面。当用户发来 Claude Desktop 界面截图并指出未翻译的英文(如"这些没汉化"、"帮我汉化一下"),或要求为新版 UI 增加简体/繁体中文翻译时立即使用。覆盖 i18n 键值词表、硬编码词表与 DOM 动态正则三层,并自动验证映射命中率。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Claude Desktop 中文补丁 · 汉化工作流
本项目是 Claude Desktop 的本地中文补丁。界面文本通过三层机制汉化,新增翻译时必须按目标文本的性质选择正确的层,三层全部落位后统一验证。
## 三层汉化机制
| 层 | 文件 | 作用范围 |
| --- | --- | --- |
| 1. i18n 键值词表 | `resources/frontend-zh-{zh-CN,zh-TW,zh-HK}.json` | 走 react-intl 的标准组件。合并进应用的 `zh-*.json`,有 key 即原生显示中文 |
| 2. 硬编码词表 | `resources/frontend-hardcoded-zh-*.json`(`[源文, 译文]` 二元组列表) | 未走 i18n 的前端 bundle 文本(安装时静态替换 JS),同时并入在线 DOM 翻译映射 |
| 3. DOM 动态正则 | `scripts/patch_claude_zh_cn.py` 的 `build_online_dom_translation_script()` 中 `G=[...]` 数组;Windows 同款模板在 `scripts/install_windows.ps1` | 动态文本:计数、日期、时间区间、带变量的句子。**两个引擎必须同步修改** |
桌面壳层文本(极少)放 `resources/desktop-zh-*.json`。
## 工作流
### 第 1 步:定位 i18n key
在已安装应用的英文语言包中按值精确匹配(项目词表只保留当前版本存在的 key):
```python
import json
en = json.load(open("/Applications/Claude.app/Contents/Resources/ion-dist/i18n/en-US.json"))
for text in ["Theme", "Chat font"]:
print(text, {k for k, v in en.items() if v == text})
```
- 精确匹配不到时用小写子串模糊搜索,并去前端 bundle(`/Applications/Claude.app/Contents/Resources/ion-dist/assets/v1/*.js`;新版 Claude 可能改名或换层级,安装脚本会自动探测,找不到时在 `ion-dist` 下递归搜含 `index-*.js` 的目录)里确认组件写法。
- 截图里的文本往往是多个 DOM 节点拼出来的(链接前后各一个 text node),要分别找。
### 第 2 步:确定三地译文
…Read the whole file at its exact version.
How to install
mdr add javaht/claude-desktop-zh-cn/claude-desktop-zh-localize@sha256:9be793edc9a7942bThe line at the top of this page pins the label git:20261011.c98a912, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_ymtiflygogosrsro)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Sep 25, 2026 and Oct 11, 2026, about one every 16 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261011.c98a912 latest | 2026-10-11 | c98a912 | 10,891 B | A | view · diff |
| git:20260925.c52ce03 | 2026-09-25 | c52ce03 | 10,692 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (10891 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
javaht/claude-desktop-zh-cn · 8,267 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ymtiflygogosrsro GET https://markdownregistry.com/api/v1/resolve?ref=javaht/claude-desktop-zh-cn/claude-desktop-zh-localize GET https://markdownregistry.com/api/v1/blob/9be793edc9a7942b241994c9d7deb09baeabcde0ec9d077c5dff912fccd63ad8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.