开发者

C# currentcultureinfo is different than defined

开发者 https://www.devze.com 2023-03-18 16:15 出处:网络
I have a problem where my CurrentCulture is is-IS while I dont have that confi开发者_如何学JAVAgured not in my web.config, not on my windows xp, and for some reason this is the locale that is taken in

I have a problem where my CurrentCulture is is-IS while I dont have that confi开发者_如何学JAVAgured not in my web.config, not on my windows xp, and for some reason this is the locale that is taken into my applications...

where can it be?


It could be in the project (.csproj) file. In VS, unload the project and then edit the project file.

There could be a an XML element named this:

<UICulture>en-US</UICulture>

This sets the default culture.

Other places it could be are configuration files, it could be set in code somewhere when the application starts, or it could be set in the host HTML page if this is a web application.

0

精彩评论

暂无评论...
验证码 换一张
取 消