[MRTCore] Add global PrimaryLanguageOverride switch
Changing the application language by setting Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride to a specific language is not supported for WASDK unpackaged app, only for packaged ones. To support the same behavior for unpackaged applications similar switch is introduced into WASDK MRTCore module.
Sample app used to verify the change: https://github.com/stefansjfw/testwasdk/blob/master/testlocalwinappsdk/App.xaml.cs#L36
A microsoft employee must use /azp run to validate using the pipelines below.
WARNING: Comments made by azure-pipelines bot maybe inaccurate. Please see pipeline link to verify that the build is being ran.
For status checks on the main branch, please use TransportPackage-Foundation-PR (https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary) and run the build against your PR branch with the default parameters.
/azp run
Commenter does not have sufficient privileges for PR 4181 in repo microsoft/WindowsAppSDK
while doubtful /azp run
/azp run
Commenter does not have sufficient privileges for PR 4181 in repo microsoft/WindowsAppSDK
This is needed for PowerToys to fully enable language override
note: changing namespace to Microsoft.Windows.Globalization.ApplicationLanguages is in progress (as decided during API review)
note: changing namespace to Microsoft.Windows.Globalization.ApplicationLanguages is in progress (as decided during API review)
change pushed
/azp run
Azure Pipelines successfully started running 1 pipeline(s).
This has been merged as #4523