开发者

C# currentcultureinfo is different than defined

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜