65.9K
CodeProject is changing. Read more.
Home

Changing UI language in C# programatically

emptyStarIconemptyStarIconemptyStarIconemptyStarIconemptyStarIcon

0/5 (0 vote)

Jul 22, 2010

CPOL
viewsIcon

6418

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