.net localization problem

  • Thread starter Thread starter cyrus
  • Start date Start date
C

cyrus

can i specify the localization (which language to display) each time when i
run a window application instead of localize by the windows system
automatically?
 
Hi cyrus,

you can change the language of the current thread (you're application is
running in) with the following code:
System.Threading.Thread.CurrentThread.CurrentUICulture = new
System.Globalization.CultureInfo("en-US");

Replace "en-US" with the language you want.

By the way: please use your full name.

Neno Loje
Microsoft Student Partner
University of Hamburg
 
Back
Top