microsoft / artifacts-credprovider

The Azure Artifacts Credential Provider enables dotnet, NuGet.exe, and MSBuild to interactively acquire credentials for Azure Artifacts feeds.
MIT License
747 stars 709 forks source link

The messages logged by the credential providers are not localized. #464

Open kartheekp-ms opened 6 months ago

kartheekp-ms commented 6 months ago

Discussed in https://github.com/microsoft/artifacts-credprovider/discussions/433

Originally posted by **kartheekp-ms** July 6, 2023 When I execute dotnet restore command and NuGet is trying to access a private feed, credential provider displays following logs to the console. ``` log : [CredentialProvider]ATTENTION: User interaction required. log : log : ********************************************************************** log : log : To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code {REMOVED} to authenticate. ``` Looking at the repository, there is no code related to localization, but just wanted to confirm that currently log messages are not localized. Are there any plans to enable localization in the future?
kartheekp-ms commented 6 months ago

As you can see in the example below, I changed the language code in the .NET CLI to 'es'. While the NuGet-related log messages respected the language setting, the credential provider logs were still printed in English.

image

github-actions[bot] commented 3 months ago

This issue has had no activity in 90 days. Please comment if it is not actually stale.

embetten commented 2 months ago

reopening - not stale