Reputation: 399
I'm going to change my app's language.
Thread.CurrentThread.CurrentCulture = new CultureInfo("fr-FR");
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
but the problem is that it needs the application to be restarted. Is it possible to restart the app? (or is it possible to change the language without restarting?)
Upvotes: 2
Views: 1558
Reputation: 1270
It is not possible to force a restart of an application, also changing the language of a running app is pretty complicated. Here's what I would do:
Good luck and let us know what you ended up doing!
Upvotes: 4
Reputation: 6202
As far as I know you can't change the language without restart avoiding additional code in you case. There is example of how to do it without restart, but things get a little bit more complicated here.
Upvotes: 0