A personal collection of Tampermonkey userscripts that fix UI pain points and add keyboard shortcuts on sites like GCP, GitHub, Azure DevOps, ChatGPT, and Gemini.
maboloshi/github-chinese
A userscript that translates the GitHub web interface into Simplified Chinese, running through Tampermonkey or similar script managers.
- Stars
- 37,892
- Forks
- 2,089
- Open issues
- 65
- Last commit
- 5 days ago
What is it?
GitHub 中文化插件 is a userscript that replaces English text on github.com with Simplified Chinese. It covers menus, titles, buttons and other interface elements, and uses regular-expression matching to handle dynamic text. It also localizes relative time displays and offers machine translation for repository descriptions.
The script runs in browsers through script managers such as Tampermonkey, Violentmonkey and Macaque, and works in Chrome, Firefox and Safari. A VS Code extension version is also provided for the integrated browser. Users can install the development channel from GitHub or a mirror, or the stable build from GreasyFork.
The translation glossary (locals.js) is maintained separately and updated regularly, and ignore rules keep pages such as code content from being altered. Contributions to the glossary, bug reports and code changes are accepted.
Key features
- 01Translates GitHub menus, titles, buttons and other interface text into Chinese.
- 02Uses regular-expression matching for dynamic page content.
- 03Localizes relative time elements such as timestamps.
- 04Provides machine translation for repository descriptions.
- 05Works with Tampermonkey, Violentmonkey and Macaque on Chrome, Firefox and Safari.
- 06Includes a VS Code extension version.
Use cases
- Chinese-speaking developers who want an English-free GitHub interface.
- Learners who are new to Git and GitHub terminology and prefer Chinese labels.
- Teams in Chinese-language environments that need consistent Chinese UI on GitHub.
Quick start
- 1
Install a userscript manager such as Tampermonkey
- 2
In Chrome-based browsers, enable Developer mode and allow user scripts for the manager extension
- 3
Open the README's install source link (GitHub dev version or GreasyFork stable version) and install the userscript
- 4
Refresh GitHub pages to apply the translation
Things to know
- It is a userscript that requires a separate script manager such as Tampermonkey.
- Licensed under GPL-3.0, a copyleft license that requires derivative works to remain open source.
- Translations depend on GitHub's page structure, so recent GitHub changes have caused temporary breakage.
In collections
Topics
FAQ
- What is github-chinese?
- A userscript that translates the GitHub web interface into Simplified Chinese, running through Tampermonkey or similar script managers. GitHub 中文化插件 is a userscript that replaces English text on github.com with Simplified Chinese. It covers menus, titles, buttons and other interface elements, and uses regular-expression matching to handle dynamic text. It also localizes relative time displays and offers machine translation for repository descriptions.
- Is github-chinese free to use? What license does it have?
- github-chinese is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
- Is github-chinese still maintained?
- Actively maintained. The last commit to github-chinese was on Nov 2, 2026.
- What can I use github-chinese for?
- Chinese-speaking developers who want an English-free GitHub interface. Learners who are new to Git and GitHub terminology and prefer Chinese labels. Teams in Chinese-language environments that need consistent Chinese UI on GitHub.
- How do I install github-chinese?
- Install a userscript manager such as Tampermonkey In Chrome-based browsers, enable Developer mode and allow user scripts for the manager extension Open the README's install source link (GitHub dev version or GreasyFork stable version) and install the userscript Refresh GitHub pages to apply the translation
- Where can I get github-chinese?
- The source code and installation instructions are on GitHub: https://github.com/maboloshi/github-chinese
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A browser extension that translates the GitHub interface into Simplified and Traditional Chinese, with translation done locally.
A bilingual translation browser extension and Greasemonkey/Tampermonkey userscript for side-by-side web page, input box, and video subtitle translation.
A browser extension that runs userscripts, fully compatible with Tampermonkey scripts and adding background and scheduled script execution.
A Tampermonkey userscript that filters Bilibili search results to hide videos whose titles don't match the query and clickbait or low-quality content.
A web and Tampermonkey userscript hub that turns an arXiv paper ID into one-click links to reading, translation, search, and discussion tools.