Programmatically change resource file language (resx) in Code Behind
问题 I have a .Net application in C# and I have a file structure something like: App_LocalResources - MyPage.aspx.resx - MyPage.aspx.fr.resx MyPage.aspx MyPage.aspx.cs I am trying to programatically change the language which tells the application which resx file to use. I want to do this in the code behind file (MyPage.aspx.cs). I have tried both of these in the OnPreRender, Page_Init, and Page_Load events: Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-CA"); Thread.CurrentThread