c# - Check system language changes on an application -


I want to test a Qt application for different languages. Therefore, I change the system language to modify the MUI language registry tag ( HKEY_LOCAL_MACHINE / SYSTEM / CurrentControlSet / Control / MUI / UILanguages ​​) for French and German respectively, French and German. Then I have to restart the system for AUT (application under trial) to display the new language. Can I do this without restarting the system? I tried to kill explorer.exe and it has re-launched but unless I restart language changes do not reflect on my application. I want to avoid restarting

Also, is there any other possible way to change the system language and reflect in my application (without changing the registry)? No, I think it is not possible without a restart or log off system because the system check starts when it does not start after. Examine many registry keys

Try it to be your help

  Thread. Present. Culture = new cultureInfo ("D-D"); Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;   

And if you want to change only the input language for the system,

  change the Private Zero keyboard layout (System.Globalization.CultureInfo CultureInfo) {InputLanguage C = InputLanguage .FromCulture (CultureInfo); InputLanguage.CurrentInputLanguage = c; }    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -