I am developing windows application which supports two language Arabic and English. I want to change the UI (Labels) of the forms at run time. Which ever language selected by user initially forms should be displayed in that language. For this I have set following key
If user selects English
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-GB");"
If user selects Arabic
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-Ar");
This works fine when I run the application in visual studio. All the forms comes according to currently selected UI culture.
But after installing the MSI of this application on machine it is not showing the form's label values according to CurrentUICulture Resource file. It is always showing label's in English only even though selected language is Arabic.