I'm writing a windows installer for an application that depends on spanish input language being enabled which is not default on Windows 7. Is there a way I can programatically detect if Spanish input language is enabled on the host machine running Win 7 and enable it if it's not?
Enable input language programatically on Windows 7
771 views Asked by Amit Arora At
2
There are 2 answers
2
On
This Resource Might Help You :
http://msdn.microsoft.com/en-us/library/system.windows.forms.inputlanguage(v=vs.71).aspx
You may read the default or set as default a language through Windows registry, here is the link to the key and the language codes: http://www.windowsitpro.com/article/configuration/where-in-the-registry-is-the-language-setting-for-each-user-stored-
If for example you wish to use python to set the registry here is an example: