I am working on a small wpf application, and I a dropdown box to select the language.
Now I have an option in my dropdown box to select system default language. (In this case the language from the windows system).
I used the following code to actually set the system default language:
System.Threading.Thread.CurrentThread.CurrentUICulture = CultureInfo.InstalledUICulture;
But it actually always give back English even when I select French as my main windows language.
What is the correct way to actually change this.