I can tell my page to use a certain CultureInfo
like
System.Globalization.CultureInfo.CreateSpecificCulture("en-US");
The code above only set's the CultureInfo
, not the UICulture
, how can I tell the Page to bypass what the browser says and use a specific one, so all GlobalResource
's could be applied to the correct culture?
in the code above and having Swedish as my first browser language I get:
System.Globalization.CultureInfo.CurrentUICulture.Name --> sv-SE
System.Globalization.CultureInfo.CurrentCulture.Name --> en-US
I need to set the CurrentUICulture
so all localization is made, in this case, in English and not Swedish, like browser is set to: