开发者

how to change runtime errors into english

I am seeing run-time errors in local language of windows which is annoying (pic below). I have changed regional settings to English from Windows settings, a开发者_开发百科nd also international language from Visual Studio environments settings also added globalization uiCulture="en-US" into web.config but still no success, is there something I am missing?

how to change runtime errors into english


Just in case you encounter a localized messaged and are looking for the original error message: You can use the service on unlocalize.com to translate back:

http://www.unlocalize.com/SearchResults.aspx?search=Uygulamas%C4%B1nda+Sunucu+Hatas%C4%B1


ok found out the solution just added lines below into application_error in global.asax

Thread.CurrentThread.CurrentCulture = new CultureInfo("en-us"); Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;


I think the problem is from IIS configuration, it was not installed in an English Windows and the Error Page is not in English due to this.

See you


Could it be that your browser is asking for a non English page by default? What happens if you change the default accepted language in, say, IE? You could find the settings in Options->General->Languages.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜