Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I localize strings in Xaml files for WPFLocalizationExtension

I'm using WPFLocalizationExtension to localize my WPF application. I'm very happy with the run-time behavior, but extracting string properties manually to ResX files is very tedious.

Is there a way to automate this? I used to have a tool called Xaml Localizer Addin that did exactly this (screenshot below), but it only works with VS2008 and I couldn't find a newer version.

enter image description here

like image 261
Niki Avatar asked Jul 20 '15 09:07

Niki


1 Answers

If you're using visual studio 2010, you may want to check out Xaml Localization Tool. It's an extension for vs2010 to localize xaml application, and generate .resx files from xaml.

Another idea is to download XAML Localize Source Code and build your own visual studio add-in or tool that is compatible with your version of .net.

like image 51
Bahman_Aries Avatar answered Sep 21 '22 14:09

Bahman_Aries