Changing UI language in C# programatically






2.88/5 (7 votes)
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.