chinese translation added (weice, pyrevitlabs.io)#2958
chinese translation added (weice, pyrevitlabs.io)#2958jmcouffin merged 2 commits intopyrevitlabs:developfrom
Conversation
There was a problem hiding this comment.
PR Summary:
This PR adds comprehensive Chinese Simplified (简体中文) translations to pyRevit by adding chinese_s locale entries to 200+ bundle.yaml files across the pyRevitTools extension. The translations cover tooltips and titles for all major tool categories including Analysis, Drawing Set, Modify, Project, Selection, and Toggles panels. Minor YAML formatting improvements (trailing space removal, newline additions) are also included.
Review Summary:
Reviewed the translation additions and YAML formatting changes. Verified that chinese_s is the correct locale code per pyRevit's locale system (confirmed in pyrevitlib/pyrevit/coreutils/applocales.py). All YAML syntax is valid and translations are consistently applied across all files. Found one encoding issue where a copyright symbol appears as ? instead of © in one tooltip.
Follow-up suggestions:
- @devloai fix the copyright encoding issue in ColorSplasher tooltip
...sions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton/bundle.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
This pull request adds Chinese simplified translations to the pyRevitTools extension. A community contributor (weice) has provided comprehensive Chinese language support across numerous UI components, making pyRevit more accessible to Chinese-speaking users.
Key Changes
- Added
chinese_slanguage entries to bundle.yaml files across 200+ tools and UI components in the pyRevitTools extension - Consolidated multi-line YAML strings in existing translations (German, French, Russian) to improve formatting consistency
- Maintained consistent YAML structure with existing language translations
Reviewed changes
Copilot reviewed 230 out of 230 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| ColorSplasher.pushbutton/bundle.yaml | Added Chinese translation for Color Splasher tool title and tooltip; includes copyright notice |
| Multiple Selection panel files | Added Chinese translations for selection memory tools (MAppend, MRead, MWrite, etc.) |
| Multiple Toggles panel files | Added Chinese translations for UI toggle buttons (Sync, ViewRange, SectionBox, etc.) |
| Multiple Modify panel files | Added Chinese translations for modification tools (Match, Flip, ReNumber, etc.) |
| Multiple Drawing Set panel files | Added Chinese translations for sheet and view management tools |
| Multiple Project panel files | Added Chinese translations for project management and family tools |
| Multiple Analysis panel files | Added Chinese translations for inspection and analysis tools |
...sions/pyRevitTools.extension/pyRevit.tab/Analysis.panel/ColorSplasher.pushbutton/bundle.yaml
Outdated
Show resolved
Hide resolved
…olorSplasher.pushbutton/bundle.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
📦 New work-in-progress (wip) builds are available for 5.3.1.25343+2308-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.25347+1751-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.25347+2146-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.25347+2208-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.25348+1520-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.25354+0912-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26006+2003-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26006+2004-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26007+1719-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26008+2103-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26008+2214-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26010+1645-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26010+2127-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26010+2154-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26011+1925-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26014+1705-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26014+2042-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26014+2113-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26017+0925-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26017+0934-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26017+1003-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26022+2138-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26023+2136-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26023+2141-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26025+1329-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26025+1418-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2037-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2039-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2101-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2136-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2147-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2212-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1043-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1111-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1304-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1323-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1433-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1538-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1543-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1553-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1612-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1624-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1738-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1743-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1829-wip |
|
📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1937-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+1956-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2005-wip |
|
📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2008-wip |
|
📦 New public release are available for 6.0.0.26032+2040 |
|
📦 New public release are available for 6.0.0.26032+2040 |
Description
Chinese simplified translation added by weice.
Context:
https://discourse.pyrevitlabs.io/t/inquiry-about-chinese-simplified-language-support/9624/9
Diff is of course huge, and i can't verify if the translations make sense.
Checklist
Before submitting your pull request, ensure the following requirements are met:
pipenv run black {source_file_or_directory}Related Issues
If applicable, link the issues resolved by this pull request:
Additional Notes
Include any additional context, screenshots, or considerations for reviewers.
Thank you for contributing to pyRevit! 🎉