Created
August 30, 2012 10:30
-
-
Save rebeccapowell/3525846 to your computer and use it in GitHub Desktop.
ASP.NET - Manually set culutre on current thread
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| protected void Application_BeginRequest(object sender, EventArgs e) | |
| { | |
| Thread.CurrentThread.CurrentCulture = new CultureInfo(HttpContext.Current.Request.UserLanguages[0]); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment