-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Sometimes, expecially when reporting an issue or writing a blog post in a foreign language, it can be usefull to switch CLI to a non-system language.
Currently the dotnet CLI on Windows don't use the DOTNET_CLI_UI_LANGUAGE environment variable anymore and the workaround is to rename the folder of the system language in the dotnet SDK folder (located on "dotnet-install-directory\sdk\sdk-version"). For example, renaming it
to it-off
if the system language is Italian. Please note that renaming is better than deleting, as we can revert to the system language simply restoring the folder name (i.e. it-off
to it
).
This is tedious and error prone, and I'd like to use a dotnet option to set it , like dotnet --lang-en --help
or dotnet --lang-es --help
or dotnet --lang-jp --help
.
Would it be feasible?