Allow CLI UI language to be overridden by an environment variable
This commit is contained in:
parent
c166a8086b
commit
60e2637143
2 changed files with 79 additions and 0 deletions
|
@ -198,6 +198,9 @@ namespace Microsoft.DotNet.Cli
|
|||
// by default, .NET Core doesn't have all code pages needed for Console apps.
|
||||
// see the .NET Core Notes in https://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx
|
||||
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
||||
|
||||
// Honor UI language customization
|
||||
UILanguageOverride.Setup();
|
||||
}
|
||||
|
||||
internal static bool TryGetBuiltInCommand(string commandName, out BuiltInCommandMetadata builtInCommand)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue