Reputation: 889
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
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
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
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