msbuild
msbuild copied to clipboard
[NETSDKE2E][Loc]With NET9 SDK installed in loc OS(Chinese), Unit of time in message is missing when creating project in CLI.
- Install 9.0.100-alpha.1.24053.14 in Loc OS(e.g Chinese OS)
- Run "dotnet new console" in CLI.
- Check if the messages are localized well.
Expected Result: the messages are localized well.
Actual Result: Unit of time in message is missing.
Chinese(Repro)
EN:
German(not repro)
C:\Users\v-danche>dotnet --info .NET SDK: Version: 9.0.100-alpha.1.24053.14 Commit: 48543d2076 Workload version: 9.0.100-manifests.b3326be0
运行时环境: OS Name: Windows OS Version: 10.0.22621 OS Platform: Windows RID: win-x64 Base Path: C:\Program Files\dotnet\sdk\9.0.100-alpha.1.24053.14\
已安装 .NET 工作负载: 没有要显示的已安装工作负载。
Host: Version: 9.0.0-alpha.1.24053.1 Architecture: x64 Commit: cc26196708
.NET SDKs installed: 9.0.100-alpha.1.24053.14 [C:\Program Files\dotnet\sdk]
.NET runtimes installed: Microsoft.AspNetCore.App 9.0.0-alpha.1.23620.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 9.0.0-alpha.1.24053.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 9.0.0-alpha.1.24053.2 [C:\Program Files\dotnet\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
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
This appears to be the new terminal logger output so routing to msbuild and marking it for TL tracking.
we checked on today's build 9.0.100-preview.1.24101.4 SDK on Chinese OS.
the time unit is added for log output after running "dotnet new console"
But the time unit is still missing after running "dotnet build"
It should be already fixed with the fix of this issue: https://ceapex.visualstudio.com/CEINTL/_workitems/edit/935605
@AR-May It still happen when building project on Chinese OS on 9.0.100-preview.3.24165.20(runtime-9.0.0-preview.3.24162.31), Do we need to file a new bug for it?
EN:
It seems like not everything was indeed fixed by the issue that I mentioned. I will reopen this issue, no need to create new one.
Team triage: @JaynieBai Could you please fill a localization bug like the one I mentioned above.
Team triage: @JaynieBai Could you please fill a localization bug like the one I mentioned above.
Log bug https://ceapex.visualstudio.com/CEINTL/_workitems/edit/956251
Translated in localization PR https://github.com/dotnet/msbuild/pull/10003
@AR-May we checked on 9.0.100-preview.4.24224.4
Now, the unit of time can be displayed well after running "dotnet build"
But when we run "dotnet build -f net9.0", unit of time is still missing
EN
When you set up the framework, it is a separate string indeed. And it is not translated well it seems. @JaynieBai could you please open a loc bug for it too?
log bug https://ceapex.visualstudio.com/CEINTL/_workitems/edit/989319