Table of contents
Translation Contribution Guidelines
Currently only English is required, other languages will be discussed once the system is improved.
Before starting translation, please contact us and get approval, to understand if someone is already working on the translation, to avoid duplicate work and merge conflicts.
Requirements
- Basic knowledge of Chinese
- Good knowledge of the target language / Willingness to set your Windows 11 system to the target language
- Basic coding skills
Methods
The project uses the i18n library to implement multilingual support. You can look it up online or research the already translated parts.
Existing Resources
- It’s crucial to understand the language processing part at the beginning of
desktop.js
and become familiar with the principles - The
trans.py
in this directory - those with Python knowledge can research it themselves - In
desktop.js
, there’slang(txt,id)
, see comments for details
Notes
Some code is structured like this:
<a class="btn">
<i class="bi"></i> Text
</a>
This may make it difficult to set attributes. You can add a <span>
tag to the plain text part, for example:
<a class="btn">
<i class="bi"></i>
<span data-i18n="sth">Text</span>
</a>
Please also improve the lang_zh_cn
file simultaneously, which would be greatly appreciated.
Bonus Points
- For parts consistent with Windows 11, they should match the latest version of the native language content (as much as possible)
- For inconsistent parts, machine translation should be avoided
Content to Translate
- Various pages in Settings except for “Personalization”
- Task Manager
- JavaScript code parts, such as right-click menus, dropdown menus, and notifications
- The win12_title attribute of elements in HTML
Compensation
Only includes:
- GitHub contribution points
- Heartfelt thanks from the developers >u-)o