Change Windows locale without restarting the application

The WPF app I'm working on supports multiple languages. It displays translated text according to the Windows locale. Therefore, if Windows is installed in German, the application will display German text.

I would like to have one test suite to check for localization issues. I don't want to run the same test suite for every language. Its a lot of unnecessary repetitive work. For it to work, I need the ability to switch to another language dynamically without restarting the application. I also need WPF resources that will be reloaded dynamically.

Is there a way to do this?

+3


source to share





All Articles