Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / C#

Changing UI language in C# programatically

0.00/5 (No votes)
23 Jul 2010CPOL 6.4K  
If you didn't know better what would be your InputLanguage, just by simple code you can list all the installed languages, and choose from them.public void GetLanguages() { // Gets the list of installed languages. foreach(InputLanguage lang in InputLanguage.InstalledInputLanguages)...
If you didn't know better what would be your InputLanguage, just by simple code you can list all the installed languages, and choose from them.

public void GetLanguages() {
    // Gets the list of installed languages.
    foreach(InputLanguage lang in InputLanguage.InstalledInputLanguages) {
       textBox1.Text += lang.Culture.EnglishName + '\n';
    }
}

Regards,

COMBINE CHIPSoft
www.combinesoft.net

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)