我正在尝试在 .aspx.cs 页面的 Page_Load 中设置文化和文化 ui。我努力了
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("fr-CA");
和
CultureInfo ci = new CultureInfo("fr-CA");
Thread.CurrentThread.CurrentCulture = ci;
Thread.CurrentThread.CurrentUICulture = ci;
和
Culture = "fr-CA";
UICulture = "fr-CA";
但它们都不起作用。有谁知道如何设置文化和uiculture?
谢谢!