thorn0
thorn0

Reputation: 10387

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

Upvotes: 6

Views: 7655

Answers (3)

Renan Fernandes
Renan Fernandes

Reputation: 157

For windows 10 Users, you can simple change the language of your system in Settings -> Time & Language -> Language -> APP & websites. (You need the desired language packed installed)

Note that this solution may interfere with other apps, but It was the only solution that worked for me.

Upvotes: 0

Antoine Meltzheim
Antoine Meltzheim

Reputation: 9924

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.

Upvotes: 4

Hans Passant
Hans Passant

Reputation: 941277

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.

Upvotes: 4

Related Questions