How to change CurrentCulture?

  • Thread starter Thread starter Serge Wautier
  • Start date Start date
S

Serge Wautier

Env.: CF 3.5 / VS 2008

Hi All,

I need to localize the app I'm working on to a couple of languages. I
created a first satellite DLL and wanted to give it a test.
That's where I realize that Thread.CurrentCulture is not supported by the
CF. How do I programmatically specify which language should be loaded?

TIA,

Serge Wautier.
 
You can't. You have to manually change it on the device, then restart the
app. There might be (probably is a way) to programmatically change the
region settings.
 
Simon,

Thanks for your reply. Even though it's bad news :-(
Does VS2008 make it possible to recompile the exe using resources for
another languages (instead of creating resource dlls)?

TIA,

Serge.
 
set Culture property of your resources
MyApp.MyStringResources.Culture = new System.Globalization.CultureInfo(
"en" );

Stanislav Nikodem
 
Back
Top