Reputation: 151
My environment is:
When I try to use Terminal to add package, it output messages in Japanese.
But I would like it to output them in English.
Upvotes: 8
Views: 9983
Reputation: 53
I had the same issue. I found the solution here https://github.com/dotnet/sdk/issues/8686
It was fixed by setting the environmental variable "DOTNET_CLI_UI_LANGUAGE" to "en"
Upvotes: 0
Reputation: 54
For ubuntu / Linux
Edit two files:
sudoedit /etc/default/locale
LANG="en_US"
LANGUAGE="en_US:en"
sudoedit ~/.pam_environment
LANG=en_US
LANGUAGE=en_US
Logout and Login or Reboot.
Upvotes: 1
Reputation: 151
I have found the solution. Because the terminal uses PowerShell, we should set the powershell's output. Here it is:
"set-culture -cultureinfo en-US"
in terminalLCID Name DisplayName
---- ---- -----------
1033 en-US 英語 (米国)
Upvotes: 4
Reputation: 69
I'm on linux but having the same problem.
What works for me is to check terminal > integrated: inherit env
in vscode.
Upvotes: 0
Reputation: 54
For Windows
Upvotes: 2