Reputation: 5539
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
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
Upvotes: 1
Views: 1332
Reputation: 190897
Ensure that the additionally created DLLs are accessible by your EXE.
Upvotes: 5