Click here to Skip to main content
15,886,761 members
Articles / Programming Languages / C#
Alternative
Tip/Trick

Changing UI language in C# programatically

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
23 Jul 2010CPOL 6.3K   2  
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)


Written By
CEO COMBINE CHIPSoft Corporation
Pakistan Pakistan
MIS Manager
Punjab Group of Colleges Rawalpindi Islamabad

Programming in
C#, Java, C/C++, VB 6.
SQL Server, Oracle,
Office Automation,

Comments and Discussions

 
-- There are no messages in this forum --