dotnet / dotnet/sdk

[NETSDKE2E][Loc][Regression] With NET11 RC1 installed, the outputs of "dotnet build --help" are unlocalized.

Open
#55,820 1 comment 0 reactions 0 assignees View on GitHub
untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### RGRESSION INFO
Not repro on 11.0.0-preview.7.26366.102

### Describe the bug

"dotnet build --help" are unlocalized.

### Steps to reproduce

1. Install 11.0.100-rc.1.26413.103 SDK on loc OS(e.g chinese windows OS)
2. In CLI, run `dotnet build --help` and then check if outputs are localized

### Expected behavior

The outputs of dotnet build --help are all localized.

### Actual behavior

The output of dotnet build --help are unlocalized.

Image

EN:

Image

### Is this a regression?

Yes

### Are there any workarounds?

_No response_

### dotnet --info output

```console
.NET SDK:
Version: 11.0.100-rc.1.26413.103
Commit: b8c18a5c2f
Workload version: 11.0.100-manifests.a8cd5014
MSBuild version: 18.11.0-1.26413.103+b8c18a5c2

Runtime Environment:
OS Name: Windows
OS Version: 10.0.26200
OS Platform: Windows
RID: win-x64
Base Path: C:\Users\v-wenwenchen\Downloads\11.0.100-rc.1.26413.103\sdk\11.0.100-rc.1.26413.103

.NET workloads installed:
没有要显示的已安装工作负载。
已配置为在安装新清单时使用 workload sets。
未安装任何 workload sets。运行 “dotnet workload restore” 以安装工作负载集。

Host:
Version: 11.0.0-rc.1.26413.103
Architecture: x64
Commit: b8c18a5c2f

.NET SDKs installed:
11.0.100-rc.1.26413.103 [C:\Users\v-wenwenchen\Downloads\11.0.100-rc.1.26413.103\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 11.0.0-rc.1.26413.103 [C:\Users\v-wenwenchen\Downloads\11.0.100-rc.1.26413.103\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 11.0.0-rc.1.26413.103 [C:\Users\v-wenwenchen\Downloads\11.0.100-rc.1.26413.103\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 11.0.0-rc.1.26413.103 [C:\Users\v-wenwenchen\Downloads\11.0.100-rc.1.26413.103\shared\Microsoft.WindowsDesktop.App]

Other architectures found:
None

Environment variables:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download
```

### IDE version

_No response_

### Other details

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the regression by installing .NET SDK 11.0.100-rc.1.26413.103 on a localized Windows OS and running `dotnet build --help`; compare its output with 11.0.0-preview.7.26366.102. Trace the `dotnet build` help entry point and localization resources, then verify that all help output is localized in the affected locale and remains correct in English.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.