Skip to content

chinese translation added (weice, pyrevitlabs.io)#2958

Merged
jmcouffin merged 2 commits intopyrevitlabs:developfrom
Wurschdhaud:chinese-translation
Dec 9, 2025
Merged

chinese translation added (weice, pyrevitlabs.io)#2958
jmcouffin merged 2 commits intopyrevitlabs:developfrom
Wurschdhaud:chinese-translation

Conversation

@Wurschdhaud
Copy link
Copy Markdown
Contributor

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.

image

Checklist

Before submitting your pull request, ensure the following requirements are met:

  • Code follows the PEP 8 style guide.
  • Code has been formatted with Black using the command:
    pipenv run black {source_file_or_directory}
  • Changes are tested and verified to work as expected.

Related Issues

If applicable, link the issues resolved by this pull request:

  • Resolves #[issue number]

Additional Notes

Include any additional context, screenshots, or considerations for reviewers.


Thank you for contributing to pyRevit! 🎉

Copy link
Copy Markdown
Contributor

@devloai devloai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_s language 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

…olorSplasher.pushbutton/bundle.yaml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jmcouffin jmcouffin added the Localization Issues related to pyRevit localization [subsystem] label Dec 9, 2025
@jmcouffin jmcouffin merged commit e2450fc into pyrevitlabs:develop Dec 9, 2025
@Wurschdhaud Wurschdhaud deleted the chinese-translation branch December 9, 2025 19:16
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 9, 2025

📦 New work-in-progress (wip) builds are available for 5.3.1.25343+2308-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.25347+1751-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.25347+2146-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.25347+2208-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.25348+1520-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.25354+0912-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 6, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26006+2003-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 6, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26006+2004-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 7, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26007+1719-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 8, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26008+2103-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 8, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26008+2214-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26010+1645-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26010+2127-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26010+2154-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26011+1925-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26014+1705-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26014+2042-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26014+2113-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26017+0925-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26017+0934-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26017+1003-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26022+2138-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26023+2136-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26023+2141-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26025+1329-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26025+1418-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2037-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2039-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2101-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2136-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2147-wip

@github-actions
Copy link
Copy Markdown
Contributor

📦 New work-in-progress (wip) builds are available for 5.3.1.26030+2212-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1043-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1111-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1304-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1323-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1433-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1538-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1543-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1553-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1612-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1624-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1738-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1743-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1829-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 5.3.1.26032+1937-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26032+1956-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2005-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New work-in-progress (wip) builds are available for 6.0.0.26032+2008-wip

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New public release are available for 6.0.0.26032+2040

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 1, 2026

📦 New public release are available for 6.0.0.26032+2040

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Localization Issues related to pyRevit localization [subsystem]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants