Click here to Skip to main content
12,302,764 members (67,650 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Stats

11K views
5 bookmarked
Posted

Changing UI language in C# programatically

, 27 Mar 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
In your form, I usually set this in the enter event of the control (usually a textbox).InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(InputLanguage.FromCulture(System.Globalization.CultureInfo.GetCultureInfo("en-US"));Of course you can substitute the Culture to...
In your form, I usually set this in the enter event of the control (usually a textbox).

InputLanguage.CurrentInputLanguage =
InputLanguage.FromCulture(InputLanguage.FromCulture(System.Globalization.CultureInfo.GetCultureInfo("en-US"));



Of course you can substitute the Culture to whatever you would like. I usually use "ar-JO" (Arabic - Jordan) quite a bit here.

License

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

Share

About the Author

A Systems Engineer, a Software Engineer, a Consultant and an Entrepreneur as well as a Barbeque aficionado.

Currently, working as a Senior Systems Engineer at Intergraph, where I help enterprises move the cloud.

Married and the proud father of two boys, my family is the center of my happy universe Smile | :)

You may also be interested in...

Comments and Discussions

 
-- There are no messages in this forum --
| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.160530.1 | Last Updated 27 Mar 2010
Article Copyright 2010 by Mustafa Ismail Mustafa
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid