WinUI 3 | Localization | Multilingual App Toolkit Editor | WinAppSDK | XAML | Tutorial | C# | .NET

Опубликовано: 08 Июнь 2026
на канале: Andrew KeepCoding
3,863
40

In this video we'll be implementing "Localization" to a WinUI 3 app created with the Template Studio.

Chapters:
00:00 Intro
01:00 Workaround when publishing to the Microsoft Store
01:13 Installing the "Multilingual App Toolkit Editor" app
01:52 Installing the "Multilingual App Toolkit v4.1 (VS 2022+)" extension
02:36 Creating a WinUI 3 app with the Template Studio
04:28 "Strings" folder with "Resources.rews"
05:10 Editing "Resources.rews" as an example
07:32 Enabling the "Multilingual App Toolkit" for this project
07:58 Adding translation files (MultilingualResources / *.xlf files)
08:32 Translating with the "Multilingual App Toolkit Editor"
09:46 Implementing Language Switching feature
10:24 LocalizationService class
10:42 ResourceManager class
11:28 Creating a list of available languages
13:14 Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride
14:30 Implementing UI (SettingsViewModel.cs)
15:52 Implementing UI (SettingsPage.xaml)
20:36 Ending

GitHub:
https://github.com/AndrewKeepCoding/L...
Template Studio:
https://github.com/microsoft/Template...
Multilingual App Toolkit:
https://docs.microsoft.com/en-us/wind...
Microsoft Store Problem?:
https://github.com/microsoft/microsof...
Twitter:
  / andrewkeepcodin  

#winui3 #winappsdk #localization