Switch language for .NET CLI on macOS/Linux
See original GitHub issueI have Russian macOS and want to force .NET CLI use English as a default language.
In #8686 it was suggested to set DOTNET_CLI_UI_LANGUAGE
environment variable to change the language, but for macOS and Linux this trick doesn’t work.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
Switch CLI to a non-system language #8686 - dotnet/sdk
FWIW I think this is a bad default and changing language away from English to the system language should ... NET CLI on...
Read more >Force dotnet CLI in English on a French Windows
You can use the DOTNET_CLI_UI_LANGUAGE environment variable to override the language used by the dotnet CLI: > set DOTNET_CLI_UI_LANGUAGE=en ...
Read more >Install .NET on macOS
In this article, you'll learn how to install .NET on macOS. .NET is made up of the runtime and the SDK. The runtime...
Read more >NET CLI overview
The .NET command-line interface (CLI) is a cross-platform toolchain for developing, building, running, and publishing .NET applications. The .
Read more >Set up a .NET Core C# Development Environment on macOS
Learn how to set up a C# development environment on macOS. ... C# programming language including development environment setup, variables, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Cantaria the comment was ment to be ironic. Sorry for that
On macOS 12.2 with .NET 6.0.101 I added the following line to ‘.zprofile’ file:
export DOTNET_CLI_UI_LANGUAGE=“en-US”
This works for me.