在启动的时候设置:(比如App的OnStartup方法)

//设置为中文
CultureInfo culture = new System.Globalization.CultureInfo("zh-cn");
System.Threading.Thread.CurrentThread.CurrentCulture = culture;
System.Threading.Thread.CurrentThread.CurrentUICulture = culture;

参考资料

Localization in WPF DatePicker (SfDatePicker)
上述资料里提到可以自定义资源来设置本地化
C# CultureInfo 类之各国语言所对应的的区域性名称

相关文章:

  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2021-09-12
  • 2021-07-01
  • 2021-05-20
猜你喜欢
  • 2021-04-20
  • 2022-12-23
  • 2021-09-04
  • 2021-06-04
  • 2022-12-23
  • 2022-01-29
相关资源
相似解决方案