-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Use same language set for .wxl and .json files #43888
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- translation infrastructure works better when `Projects` elements use same languages - previous use of two+two codes were an unnecessary complication and cover the same languages - `WiX_CloneLanguages` already updated on loc side to use the default two-letter language codes
Hey @dotnet/aspnet-build, looks like this PR is something you want to take a look at. |
@@ -91,6 +91,7 @@ $locJson = @{ | |||
) | |||
}, | |||
@{ | |||
LanguageSet = $LanguageSet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this change be in Arcade?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm rushing a bit because a change on the loc side (the WiX_CloneLanguages
change mentioned in the description) broke the current aspnetcore-localization
pipeline and caused the messed-up e532948 commit. That commit adds incorrectly-mapped files like src/Installers/Windows/SharedFrameworkBundle/cs-CZ/thm.wxl.
I'm about to put up a PR for Arcade making exactly the same fix but want tomorrow's OneLocBuild
task to work cleanly.
Will check this in as soon as it's approved since my test build (#20220908.2) already ran successfully. Resulting loc project looked good. It was the regular build from main that borked things. |
Merged immediately because CI build has nothing to do w/ the changed file. |
- translation infrastructure works better when `Projects` elements use same languages - previous use of two+two codes were an unnecessary complication and cover the same languages - `WiX_CloneLanguages` already updated on loc side to use the default two-letter language codes
Projects
elements use same languagesWiX_CloneLanguages
already updated on loc side to use the default two-letter language codes