I have created Windows Form Program in C#.
I have some problems with localization.
I have resource files in 3 languages.
I want to click each language button and change language at runtime.
When i am changing language before InitializeComponent() it works.
But when i am clicking on button, it doesn’t work.
i am using this code.
private void RussianFlag_Click(object sender, EventArgs e)
{
Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru-RU");
}
You will need to reload the controls for it to reflect the New culture values
and then you would have to apply for each control using
resources.ApplyResourcesPlease have a look here