readme-i18n
Skill1 starsChanged 20 days agoMITView on GitHub
Create and maintain bilingual (English + Simplified Chinese) READMEs with a language switcher, and make Gitee auto-select the localized README while GitHub keeps showing English. Use when asked to add a Chinese README, add a README language toggle, explain how Gitee/GitHub choose localized READMEs, or fix README language selection.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- figueroaignacio/ignaciofigueroa.devtheir own version, first seen Nov 8, 2026
- u9401066/zotero-keepertheir own version, first seen Nov 8, 2026
- yktsnet/dotfiles-publictheir own version, first seen Nov 5, 2026
- u9401066/pubmed-search-mcptheir own version, first seen Oct 20, 2026
- klauswg/sasuketheir own version, first seen Oct 15, 2026
- Y80/bmmtheir own version, first seen Oct 8, 2026
Used with
Projects with it also use git-doc-updater, git-precommit and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
u9401066Skillgit-doc-updater
Auto-check and update key documentation before Git commits to keep docs in sync with code. Triggers: docs, 文檔, 更新文檔, sync docs, release, 發布.
Also in 5 projects that use this
u9401066Skillgit-precommit
Orchestrate pre-commit workflow including Memory Bank sync, README/CHANGELOG/ROADMAP updates. Triggers: GIT, gc, push, commit, 提交, 準備 commit, 要提交了, git commit, pre-commit, 推送.
Also in 5 projects that use this
nilecuiSkillcode-refactor
Perform bulk code refactoring operations like renaming variables/functions across files, replacing patterns, and updating API calls. Use when users request renaming identifiers, replacing deprecated code patterns, updating method calls, or making consistent changes across multiple locations.
Also in 5 projects that use this
GoogleSkillcode-reviewer
Also in 5 projects that use this
- +8 more from u9401066
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- Y80/bmm★ 344same name
- diodeme/Gold-Band★ 164same name
- xixu-me/skills★ 79same name
- u9401066/pubmed-search-mcp★ 28same name
- klauswg/sasuke★ 17same name
- figueroaignacio/ignaciofigueroa.dev★ 7same name
- u9401066/zotero-keeper★ 7same name
- u9401066/nsforge-mcp★ 4same name
- u9401066/template-is-all-you-need★ 3same name
- huangzida/skills★ 2same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository2 other files it gives its agents.
- design-notesSkill
- git-commit-workflowSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 7 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Gitee auto-selects by the viewer's browser language: Put README.md (English) and README.zh-CN.md (Chinese) in the repo root:
- Very specific: line 25
Do not add README.en.md unless you explicitly want Gitee to prefer it for English browsers.
- Distinctive: line 30
Place it immediately after the title / badges, near the top:
- Very specific: line 55
Always renders README.md. README.zh-CN.md is not used as the repo landing page.
- Distinctive: line 57
Do not claim GitHub can auto-switch.
- Distinctive: line 61
Keep the same structure, headings, order, code blocks, tables and links.
- Distinctive: line 62
Do not translate: commands, code identifiers, file paths, env vars, URLs, badge URLs, directory trees, or the ASCII architecture diagram.
- Distinctive: line 66
Use plain, specific wording.
- Distinctive: line 67
Keep the language switcher accurate in both files.
- Distinctive: line 68
Update both files together when features change (do not let them drift).
- Very specific: line 84
If you add README.en.md, keep it in sync with README.md (Gitee prefers .en.md for English browsers).
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Bilingual README (English + Simplified Chinese)
Platform behavior (authoritative)
- Gitee auto-selects by the viewer's browser language. Put
README.md(English) andREADME.zh-CN.md(Chinese) in the repo root:- Chinese browser →
README.zh-CN.md - English browser →
README.md(fallback when no language-specific file matches)
- Chinese browser →
- GitHub does NOT auto-select. GitHub always renders
README.md; there is no built-in multi-language README switching. KeepREADME.mdin English and provide a link to the Chinese version.
Recommended file layout
README.md # English: GitHub default + Gitee English fallback
README.zh-CN.md # Simplified ChineseDo not add README.en.md unless you explicitly want Gitee to prefer it for English
browsers; README.md already serves as the English fallback.
Language switcher (required in both files)
Place it immediately after the title / badges, near the top:
README.md:**English** | [简体中文](README.zh-CN.md)README.zh-CN.md:[English](README.md) | **简体中文**
Gitee localization rules (priority order)
*.osc.mdwins (e.g.README.osc.md).- Language suffix:
- Simplified Chinese:
zh,cn,zh-cn,zh_cn - Traditional Chinese:
zh-hk,zh-tw,zh-yue,zh_hk,zh_tw,zh_yue - English:
en
- Simplified Chinese:
- Otherwise extension priority (
mdown,md,markdown,rst, …).
Matching is case-insensitive, so README.zh-CN.md matches zh-cn.
The Gitee page footer also has a manual language switch.
GitHub behavior
- Always renders
README.md.README.zh-CN.mdis not used as the repo landing page. - The switcher link is the only way for users to reach the Chinese version.
- Do not claim GitHub can auto-switch; it cannot.
Translation rules
- Keep the same structure, headings, order, code blocks, tables and links.
- Do not translate: commands, code identifiers, file paths, env vars, URLs, badge URLs, directory trees, or the ASCII architecture diagram.
- Translate prose and table descriptions. Keep proper nouns as-is (Tauri, Rust, WebView2, MediaPipe, aniface, three.js, GitHub, Gitee).
- Use plain, specific wording; avoid marketing fluff and emojis.
- Keep the language switcher accurate in both files.
- Update both files together when features change (do not let them drift).
Verification
- Both files start with a switcher that links to the other file.
README.zh-CN.mdis valid UTF-8 and renders Chinese (no mojibake).- Push to the Gitee remote, then:
- Chinese browser language → shows
README.zh-CN.md - English browser language → shows
README.md
- Chinese browser language → shows
- On GitHub:
README.mdis shown; the “简体中文” link opens the Chinese README.
Gotchas
- A single
README.mdcannot render differently per platform. - Gitee selects by the viewer's browser language (and footer toggle), not by repo language settings.
- If you add
README.en.md, keep it in sync withREADME.md(Gitee prefers.en.mdfor English browsers). - Remember to push to both remotes for Gitee to see the new files.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

