user209293
user209293

Reputation: 889

WPF Changing the user interface language at runtime

I want to change my user interface language at run time. what is the best approach to do this?

Regards Raju

Upvotes: 1

Views: 8726

Answers (3)

MetalMikester
MetalMikester

Reputation: 1077

I've been using this: http://www.codeproject.com/KB/WPF/WPF_Localization.aspx

Uses a XAML markup extension and resource files.

Upvotes: 4

Thomas Levesque
Thomas Levesque

Reputation: 292725

Have a look at this document, it describes various approaches to implement localization. Using a solution such as markup extensions or attached properties, you should be able to change the language at runtime

Upvotes: 1

ALOToverflow
ALOToverflow

Reputation: 2699

If you can carry extra files with your software, you could probably go for XML files, each files containing a particular language. The other option is probably using a database for storing the words.

Upvotes: 0

Related Questions