I have a file Strings.resx and Strings.nl.resx . The first contains the English string, the other the Dutch string. They are part of the C# Class Library : Module project.
public static string testString() {
When I call them from a simple Console Application , it works:
Console.WriteLine(Module.testString());
When I do the same with my ASP.NET MVC application, I get the Dutch version ...
public ActionResult testCulture() { return Content(Module.testString());
I am using Dutch Windows, so any automatic configuration will be Dutch.But, how can I get a different line when the culture is hard-coded en-us in the class library?
What am I missing here?
source share