WinUI 3 runtime localization

Posted by: talent-letdown.0c on 4 October 2022, 3:30 pm EST

    • Post Options:
    • Link

    Posted 4 October 2022, 3:30 pm EST

    I am developing WinUI 3 app, currently stuck with localization. Although I wrote separate resw resource files for different cultures and localized with x:Uid I cannot find a way to change language in app runtime.

    Setting Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride only works fine for settings startup language.

    Is runtime localization in WinUI 3 even possible?

  • Posted 6 October 2022, 3:43 pm EST


    You need to refresh your page or control to change language at runtime. You can also refer this thread: [url][/url]

    Please refer the attached sample for the full implementation of Runtime Localization :

    Best Regards,


Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels