可以以编程方式安装Windows Phone语言语言吗?
答
如果未安装的语言,这是不可能的。否则,您可以在应用程序启动事件中手动更改它。
private void Application_Launching(object sender, ActivatedEventArgs e)
{
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");
}
解决方法是创建一个resx文件并从中加载你的字符串。