Localize WPF xaml element by using x:Uid attributes and resource files.
WPF XAML User-interface(UI) localization is very more complicated than Windows Store Apps and Windows Phone Apps. To use this library, to localize UI element by using x:Uid attributes and resource files.
Install “Surviveplus.WpfLocalization” to class library project from NuGet Package Manager, and add x:Uid attribute to XAML of WPF page or control, like this example.
![]()
Add text to Resources.resx (and other language files), like this example.

Add code to call WpfLocalization.ApplyResources method, after InitializeComponent in constructor.