Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch language for .NET CLI on macOS/Linux

See original GitHub issue

I 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:open
  • Created 3 years ago
  • Comments:7

github_iconTop GitHub Comments

sharpSteffcommented, Apr 5, 2023

@Cantaria the comment was ment to be ironic. Sorry for that

marcincicommented, Feb 5, 2022

On macOS 12.2 with .NET 6.0.101 I added the following line to ‘.zprofile’ file:


This works for me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found