Niki
Niki

Reputation: 15867

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

Upvotes: 8

Views: 1229

Answers (1)

Bahman_Aries
Bahman_Aries

Reputation: 4798

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.

Upvotes: 3

Related Questions