Add German, Spanish, and Chinese translations for pyRevit core tools UI#2994
Add German, Spanish, and Chinese translations for pyRevit core tools UI#2994
Conversation
- Added translations for the settings window in German (de_de), Spanish (es_es), and Chinese (zh_cn). - Updated existing YAML file to include Chinese tooltip descriptions. - Enhanced user experience by providing localized settings options for a broader audience.
There was a problem hiding this comment.
PR Summary:
This PR adds comprehensive UI translations for the pyRevit Settings window in three new languages:
- German (de_de): Complete translation of all 387 UI strings
- Spanish (es_es): Complete translation of all 387 UI strings
- Chinese (zh_cn): Complete translation of all 386 UI strings
- bundle.yaml: Updated with Chinese tooltip description
The translations enable German, Spanish, and Chinese-speaking users to access pyRevit settings in their native languages, significantly improving accessibility.
Review Summary:
Reviewed all three new XAML resource dictionary files and the updated bundle.yaml configuration. The translations are comprehensive and structurally sound. All XAML syntax is correct and follows the established pattern from existing translation files (en_us, fr_fr, ru).
Issue identified: All three translation files have copied a pre-existing bug from the English source where UI-UX.FamilySample1 displays "Family 2" instead of "Family 1". This should be corrected to "Familie 1" (German), "Familia 1" (Spanish), and "族 1" (Chinese) to maintain consistent sample numbering. This same bug also exists in the French translation.
The repository guidelines for black formatting and PEP8 are not applicable to XAML translation files.
Follow-up suggestions:
@devloai fix the identified family sample label issues@devloai check if the French translation file has the same issue and fix it too
.../pyRevit.tab/pyRevit.panel/Settings.smartbutton/SettingsWindow.ResourceDictionary.de_de.xaml
Outdated
Show resolved
Hide resolved
.../pyRevit.tab/pyRevit.panel/Settings.smartbutton/SettingsWindow.ResourceDictionary.es_es.xaml
Outdated
Show resolved
Hide resolved
...evit.tab/pyRevit.panel/Settings.smartbutton/SettingsWindow.ResourceDictionary.chinese_s.xaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
This pull request adds localization support for German, Spanish, and Chinese languages to the pyRevit Settings UI. The changes enable users who speak these languages to interact with the pyRevit settings window in their native language, significantly improving accessibility and user experience for a broader international audience.
- Added three complete XAML resource dictionary files for German (de_de), Spanish (es_es), and Chinese (zh_cn) translations
- Updated bundle.yaml to include Chinese title and tooltip translations
- Improved YAML formatting with whitespace cleanup
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| bundle.yaml | Added Chinese (zh_cn) title and tooltip translations; cleaned up whitespace formatting |
| SettingsWindow.ResourceDictionary.zh_cn.xaml | Complete Chinese translation resource dictionary with 386 localized UI strings |
| SettingsWindow.ResourceDictionary.es_es.xaml | Complete Spanish translation resource dictionary with 386 localized UI strings |
| SettingsWindow.ResourceDictionary.de_de.xaml | Complete German translation resource dictionary with 386 localized UI strings |
- Added French (fr_fr) and Chinese (zh_cn) translations for the Extensions button in the YAML configuration. - Updated tooltips to include translations for better accessibility and user experience across multiple languages.
…s/pyRevit into settings-localization
- Changed language key from 'zh_cn' to 'chinese_s' for consistency in the YAML configuration. - Updated tooltips and titles to reflect the new language key for better localization support.
…ranslations across various buttons and tooltips - Updated Russian translations for multiple buttons and tooltips to ensure consistency. - Added Chinese translations for several buttons and tooltips to improve accessibility for Chinese-speaking users. - Removed outdated Chinese resource files to streamline localization efforts.
…tings.smartbutton/SettingsWindow.ResourceDictionary.de_de.xaml Co-authored-by: devloai[bot] <168258904+devloai[bot]@users.noreply.github.com>
…tings.smartbutton/SettingsWindow.ResourceDictionary.es_es.xaml Co-authored-by: devloai[bot] <168258904+devloai[bot]@users.noreply.github.com>
…tings.smartbutton/SettingsWindow.ResourceDictionary.chinese_s.xaml Co-authored-by: devloai[bot] <168258904+devloai[bot]@users.noreply.github.com>
|
@devloai please review again whole the file and commits |
...evit.tab/pyRevit.panel/Settings.smartbutton/SettingsWindow.ResourceDictionary.chinese_s.xaml
Show resolved
Hide resolved
extensions/pyRevitCore.extension/pyRevit.tab/pyRevit.panel/Settings.smartbutton/bundle.yaml
Outdated
Show resolved
Hide resolved
extensions/pyRevitCore.extension/pyRevit.tab/pyRevit.panel/Settings.smartbutton/bundle.yaml
Outdated
Show resolved
Hide resolved
extensions/pyRevitCore.extension/pyRevit.tab/pyRevit.panel/About.pushbutton/bundle.yaml
Show resolved
Hide resolved
There was a problem hiding this comment.
PR Summary:
This PR adds comprehensive multilingual support for pyRevit core tools UI, introducing translations in:
- German (de_de): Complete translations for About, Settings, and Extensions windows
- Spanish (es_es): Full UI translations with tooltip enhancements
- Chinese (chinese_s): New translations across all core UI components
The PR also standardizes language ordering in bundle.yaml files (en_us first) and includes a typo fix in Spanish translations.
Review Summary:
Reviewed all 30 files including new XAML resource dictionaries and updated bundle.yaml files. The translations are comprehensive and well-structured. Found 2 data integrity bugs in Settings.smartbutton/bundle.yaml that need correction: inconsistent Chinese language code usage (both zh_cn and chinese_s defined) and duplicate Spanish tooltip content. These issues affect language selection functionality and UI display correctness.
Follow-up suggestions:
- @devloai fix the identified issues
extensions/pyRevitCore.extension/pyRevit.tab/pyRevit.panel/Settings.smartbutton/bundle.yaml
Outdated
Show resolved
Hide resolved
extensions/pyRevitCore.extension/pyRevit.tab/pyRevit.panel/Settings.smartbutton/bundle.yaml
Outdated
Show resolved
Hide resolved
- Corrected Chinese translation for the About button tooltip for clarity. - Streamlined the Settings button tooltip by removing redundant lines and ensuring consistency in the Chinese translation. - Updated the title of the Imported button to improve clarity in English.
|
📦 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.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 |
Uh oh!
There was an error while loading. Please reload this page.