Skip to content

How to Change Application Language at Runtime? #1404

Answered by axelandrejs
ghost1372 asked this question in Q&A
Discussion options

You must be logged in to vote

To resolve resources in a different language, you need to set the resource context using the new WinAppSdk APIs. You can find a sample here: https://github.com/microsoft/WindowsAppSDK-Samples/blob/main/Samples/ResourceManagement/cs-winui/winui_desktop_packaged_app/MainWindow.xaml.cs

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oliverw
Comment options

Answer selected by btueffers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants