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 ( 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 And if you want to change only the input language for the system, 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
Thread. Present. Culture = new cultureInfo ("D-D"); Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
change the Private Zero keyboard layout (System.Globalization.CultureInfo CultureInfo) {InputLanguage C = InputLanguage .FromCulture (CultureInfo); InputLanguage.CurrentInputLanguage = c; }
Comments
Post a Comment