[Release/10.0] Fix WindowsDesktop installer localization #5344
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix Windows Desktop Runtime installer bundle localization
This PR fixes critical issues preventing the Windows Desktop Runtime installer from displaying localized UI in non-English languages.
Issues Fixed
Incorrect WixLocalization Culture/Language attributes - All 13 non-English
.wxlfiles hadCulture="en-us" Language="1033"instead of their correct locale values (e.g.,de-DE/1031,es-ES/3082)Wrong Payload naming convention -
bundle.wxsreferenced$(lcid)\bundle.wxlbut WixStandardBootstrapperApplication requires$(lcid)\thm.wxlMissing WixLocalization ItemGroup -
bundle.wixprojdidn't include the localization files in the build outputHardcoded English hyperlinks - Privacy Statement, Licensing Information, and Telemetry links were hardcoded in English in
bundle.thminstead of using localization tokensMissing WelcomeDescription translations - Six locales (de-DE, fr-FR, ja-JP, pl-PL, pt-BR, es-ES) had English text instead of translations
Result
The installer now correctly displays translated UI in all 13 supported languages (zh-CN, zh-TW, cs-CZ, de-DE, es-ES, fr-FR, it-IT, ja-JP, ko-KR, pl-PL, pt-BR, ru-RU, tr-TR) with automatic detection based on Windows display language.
Tested with Spanish (es-ES) locale and spot-checked others- all UI elements including welcome text and hyperlinks now display correctly in Spanish.
Risk
Minimal. Only touching loc related files.