.net localization problem

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?
 
N

Neno Loje [MSP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top