views:

96

answers:

1

I am running into trouble given the following setup:

  • Operating System is Windows 7 English, Format is German (Germany), Location is Germany
  • My Application (MVC2, .NET 4) contains 2 Resource-Files, Labels.resx (containing German content) and Labels.en.resx (containing English content)
  • CurrentCulture and CurrentUICulture are set to de-DE very early (by initializing the controller)

But the framework chooses to take the Labels.en.resx instead of using what I am expecting, the default one. So why does the fallback mechanism not work here? Any ideas?

+1  A: 

Seems to be a bug related to ASP.NET 4.0. When compiling the project against 3.5 all works as expected.

asp_net
Thanks for letting us know
citronas