Windows form globalazation

  • Thread starter Thread starter Kim Rasmussen
  • Start date Start date
K

Kim Rasmussen

Hello there,

When a Windows form change the culture, how do I refresh/redraw/recreate the
current form so the user gets the form in the newly selected culture?

Fx. changing culture from English til Danish. Then I would like to have the
Windows form change text on controls to Danish without having to restart the
whole application.


Thanks in advance,
Kim
 
Hi,

by default all of the resources are being loaded when the form initializes
(that's the InitializeComponent method)
so you need to reload the resources and set the strings one more time.

Just take 'em out into a separate method, and then execute it from your
code.

Cheers,
Branimir
 
Back
Top