Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I change the language of the Microsoft C# compiler's error messages?

Their Russian translation is invalid and confusing. E.g. in some messages language keywords were translated. So I want to see the original versions (in #develop, LINQPad, ASP.NET errors etc).

UPDATE This great site helps find original English error messages by their translations: FindErr.NET

like image 919
thorn0 Avatar asked Nov 04 '10 11:11

thorn0


People also ask

How do I change Visual Studio to English?

You can change the menu language in the Visual Studio options. 1. Select the Options command in the Tools menu and Environment > International Settings in the options dialog which then opens. The Language area displays the languages (in this case German, English).


2 Answers

Look in the c:\windows\microsoft.net\framework\v2.0.50727 folder. There should be one or more numbered subdirectories that contains cscompui.dll, the resource file for the C# compiler. The number is what matters, 1033 is the language id (LCID) for en-US.

Installing the language pack for the .NET framework should fix your problem. The download for 3.5 SP1 is here, change the Language to get the right one. The link I gave you ought to be good for English. If you get a readme.htm then switch the machine back to Russian before you try again.

like image 108
Hans Passant Avatar answered Oct 01 '22 22:10

Hans Passant


Solved !

No coding ! Go to : Start > Configuration Pannel > Language and region > Administration > Languages for non unicode programs > Set it to english.

It changed error messages language for ASP .Net application that appear in browser. Using Windows 7.

like image 43
Antoine Meltzheim Avatar answered Sep 28 '22 22:09

Antoine Meltzheim