Dan Vogel
Dan Vogel

Reputation: 3948

dynamic string localization in WPF

I have a C#/WPF application and I am attempting to add multi-language support. From my looking around I've found that using resource files of string values for each language is how I should go about doing this. Then update the CultureInfo. This seems to work fine if the culture info is set at or before the creation of the window, but I want the ability to dynamically change the culture. How can I do this? I've tried playing around with binding and dynamicResource, but couldn't figure out how to get either one to work. I guess I should add that I'm pretty much a beginner with the WPF stuff.

Upvotes: 2

Views: 3011

Answers (1)

Denis Troller
Denis Troller

Reputation: 7501

Take a look at this Codeplex project. It provides a dynamic localization system that blends well with WPF's binding system.

Upvotes: 2

Related Questions