WPF Localization

Download ver.1.0.1.0

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.

wpfXamlSample

Add text to Resources.resx (and other language files), like this example.

wpfResource

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

 

Category:Visual Studio Extensions and NuGet Packages | Date : 2015/5/17 05:27