Click here to Skip to main content
11,491,598 members (72,736 online)
Click here to Skip to main content

Tagged as

Changing UI language in C# programatically

, 27 Mar 2010 CPOL 9.8K 5
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 | :)
Follow on   Twitter

Comments and Discussions

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