什么是设置CultureInfo.CurrentCulture [英] What is setting CultureInfo.CurrentCulture

查看:372
本文介绍了什么是设置CultureInfo.CurrentCulture的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我做了

Console.WriteLine(System.Globalization.CultureInfo.CurrentCulture.ToString());

获取 en-US

我应该在控制面板设置(区域和语言?)中进行哪些更改,例如 en-CA

What should I change in my control panel settings ( Region and Language ? ) to get something else for example "en-CA" .

推荐答案

根据我的经验,文化是由操作系统的版本设置的。这不是控制面板中的设置。我们曾经不得不让多个VM运行多个Windows版本来测试我们基于文化的功能

In my experience, the culture was set by the version of the operating system. Not really a setting in the control panel. We used to have to have multiple VM's running multiple version of Windows to test our cultural based features

这篇关于什么是设置CultureInfo.CurrentCulture的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆