1

I've created a localized winforms application (in VS2008) by setting the Localizable property to true and then editing the texts, etc... of my Mainform in the designer for the relevant language.

I also have some localized strings that the application needs (e.g. for displaying message boxes and such...). Those strings I have stored in a files named

  • strings.resx
  • strings.de.resx
  • ... and so on

When I set the application's language via Thread.CurrentThread.CurrentCulture it seems to work, but only within Visual Studio. When I create a release executable and double click it, the Winforms always uses the default language (even if I hardcode Thread.CurrentThread.CurrentCulture = ... in there...

I also tried setting strings.Culture and Thread.CurrentThread.CurrentUICulture, that didn't work either

thx for any help

DeX3
  • 5,200
  • 6
  • 44
  • 68

1 Answers1

5

Ensure that the additionally created DLLs are accessible by your EXE.

Daniel A. White
  • 187,200
  • 47
  • 362
  • 445