# maboloshi/github-chinese

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/maboloshi-github-chinese).**

20,762 stars · 1,144 forks · JavaScript · gpl-3.0

## Links

- GitHub: https://github.com/maboloshi/github-chinese
- Homepage: https://maboloshi.github.io/github-chinese/
- awesome-repositories: https://awesome-repositories.com/repository/maboloshi-github-chinese.md

## Topics

`github` `greasyfork` `macaque` `tampermonkey` `userscript` `violentmonkey`

## Description

GitHub Chinese is a browser-based utility designed to improve platform accessibility by translating interface elements, repository descriptions, and dynamic content into Chinese. It functions as a browser extension that modifies web content to assist non-native speakers with navigation and discovery.

The tool employs a pattern-matching engine and mutation observers to identify and replace text strings as they appear on the page. It manages these translations through a local dictionary and configurable rule sets, which allow users to define exclusion criteria to protect specific elements like code blocks from unintended modifications.

Beyond interface labels and menus, the project provides localized formatting for timestamps, converting relative and absolute dates into regional conventions. The extension is distributed as a browser plugin, enabling consistent language support across the platform's dynamic user interface.

## Tags

### Web Development

- [Browser Extensions](https://awesome-repositories.com/f/web-development/browser-extensions.md) — Provides a browser extension that translates platform content to assist with navigation and discovery.
- [Localization Utilities](https://awesome-repositories.com/f/web-development/internationalization-localization/locale-sensitive-utilities/localization-utilities.md) — Converts platform-specific labels and metadata into local languages to assist non-native speakers.
- [Translation Tools](https://awesome-repositories.com/f/web-development/translation-tools.md) — Modifies dynamic web content through custom translation rules to ensure consistent language support.
- [Internationalized Date Formatting](https://awesome-repositories.com/f/web-development/internationalized-date-formatting.md) — Transforms raw timestamps into region-specific formats based on local cultural conventions.

### User Interface & Experience

- [Interface Localization](https://awesome-repositories.com/f/user-interface-experience/interface-localization.md) — Translates interface elements and navigation menus to improve platform accessibility for non-native speakers.
- [DOM Mutation Observers](https://awesome-repositories.com/f/user-interface-experience/dom-mutation-observers.md) — Uses mutation observers to monitor the DOM and dynamically apply translations to new elements as they appear.

### Content Management & Publishing

- [Repository Metadata Translators](https://awesome-repositories.com/f/content-management-publishing/content-management-systems/translation-management/repository-metadata-translators.md) — Automatically translates project descriptions and summaries to improve accessibility for non-native speakers.
- [Translation Management](https://awesome-repositories.com/f/content-management-publishing/content-management-systems/translation-management.md) — Manages custom translation rules and exclusion criteria to ensure consistent localization across dynamic web pages.

### Development Tools & Productivity

- [File Exclusion Rules](https://awesome-repositories.com/f/development-tools-productivity/file-exclusion-rules.md) — Provides configurable exclusion rules to prevent specific page elements like code blocks from being modified during translation.
- [Dictionary and Translation Tools](https://awesome-repositories.com/f/development-tools-productivity/dictionary-and-translation-tools.md) — Maintains a local dictionary of text mappings to enable rapid, client-side translation of web content.

### Software Engineering & Architecture

- [Description Translation Utilities](https://awesome-repositories.com/f/software-engineering-architecture/community-translation-projects/description-translation-utilities.md) — Converts repository summaries into different languages to help users understand project purposes. ([source](https://maboloshi.github.io/github-chinese/))
