Click here to Skip to main content
15,907,906 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:

Could you please let me know how I can change the Language of Language bar at runtime?

Thanks a lot

See here[^].
Share this answer
System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");

System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");

Application.CurrentCulture = new System.Globalization.CultureInfo("en-US");

or use language code instead of "en-US" string
Share this answer

The code below works well:

System.Globalization.CultureInfo Persian = new System.Globalization.CultureInfo("fa-IR");

InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(Persian);

There is a rich list of Culture Name here :
Share this answer

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

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900