Setting locale for test purposes

C

Claire

I'm using VMWare installed with a german version of XP to test german
localization of my application.
I recently saw someone change locale of the application with a single line
of code at startup but can't remember where I saw it.
Does anyone know how to do this? It takes too long to keep reinstalling my
software on the virtual machine.
thanks :)

Claire
 
J

Jon Skeet [C# MVP]

I'm using VMWare installed with a german version of XP to test german
localization of my application.
I recently saw someone change locale of the application with a single line
of code at startup but can't remember where I saw it.
Does anyone know how to do this? It takes too long to keep reinstalling my
software on the virtual machine.
thanks :)

Thread.CurrentThread.CurrentCulture and
Thread.Thread.CurrentThread.CurrentUICulture?

Jon
 

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