.net - Change Language in C# -


I am developing a multilingual program in C # on Windows

How to write windows on some tasks To change the language ...
To convert from English to Arabic on eg focus event.

Thanks

The entire new culture, for a new culture, CurrentThread Set up .CurrentCulture, such as to set in French:

  System. Globalization. CulverInfo CI = New System Globalization. Celticfo ("FR-FR"); System.Threading.Thread.CurrentThread.CurrentCulture = ci;  

You can find a list of predefined CultureInfo names.

If you want to change some aspects of the default culture, then you can achieve the culture of the current thread, use it to create a new culture infy example and with some variations new thread Set up culture, such as using the 'euro' symbol to change the current culture:

  system.globalization.quelterfo CI = new system. Globalization. Culturing Ci.NumberFormat.CurrencySymbol = "€"; System.Threading.Thread.CurrentThread.CurrentCulture = ci;  

Comments