Skip to content

[Localization] The string ‘Machine-wide package sources are provisioned by Visual Studio workloads and can only be enabled or disabled’ was not localized #14716

@v-luzh

Description

@v-luzh

NuGet Product Used

Visual Studio Package Management UI

Product Version

VS D18.3\11408.92 with implicit NuGet Client Dev\7.3.0.51

Worked before?

It is not a regression since the string ‘Machine-wide package sources are provisioned by Visual Studio workloads and can only be enabled or disabled’ in ‘Options->NuGet Package Manager->Package Sources’ is new added.

Impact

It bothers me. A fix would be nice

Repro Steps & Context

Note:

  1. Repro rate: 100%.
  2. It also reproes on other languages: DEU/FRA/RUS/JAP.

Repro Steps:

  1. Open VS and select a loc language (for example, CHS) in ‘Tools->Options->Environment->International Settings’ (then restart VS).
  2. Create a C# Console App (.NET 10.0) in VS and open the project-level PM UI.
  3. Make sure you have several package sources in ‘nuget.config’ file under the path ‘C:\Users[UserName]\AppData\Roaming\NuGet’ (as the lines below).
    key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3"
    key="Microsoft Visual Studio Offline Packages" value="C:\Program Files (x86)\Microsoft SDKs\NuGetPackages"
  4. Click the menu ‘Tools->Options->NuGet Package Manager->Package Source’ and delete all the package sources.
  5. Close the VS, reload the solution (to avoid meeting the bug 14693) and observe the string ‘Machine-wide package sources are provisioned by Visual Studio workloads and can only be enabled or disabled’ under the region heading ‘Machine-wide package sources’

Expected Result:

The string ‘Machine-wide package sources are provisioned by Visual Studio workloads and can only be enabled or disabled in ‘Options->NuGet Package Manager->Package Sources’ page should be localized correctly.

Actual Result:

‘Machine-wide package sources are provisioned by Visual Studio workloads and can only be enabled or disabled in ‘Options->NuGet Package Manager->Package Sources’ page was not localized as the screenshot below.

Image

Verbose Logs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions