Change build terminal language to English

How can i change language in the terminal to english ?

0
4 comments

Hi Krzysztof

Unfortunately, this option is not supported by MSBuild. Generally, MsBuild language is the same as your system or Visual Studio language. You can try to change one of these languages. Another possible workaround is to add <PreferredUILang>en</PreferredUILang> string to your csproj file. 

1

I think this is the easiest way of how to get MSBuild errors in different language. I also have Windows with polish language and this helped me :) 

2

Thank's Rosko it's working !! :)

1

We also plan to enforce it, you can watch the issue here. But for now DOTNET_CLI_UI_LANGUAGE=en and PreferredUILang=en should help.

0

Please sign in to leave a comment.