In MVC 6 by default, CultureInfo.CurrentCulture
is the one used by windows, not by the browser.
In MVC 5 I could put this in web.config
:
<globalization culture="auto" uiCulture="auto"/>
and that would make the CultureInfo.CurrentCulture
be the same as specified by the browser (Accept-Language
header).
Is there a way to configure the MVC 6 app to use the browser culture by default?