command-line-api
command-line-api copied to clipboard
[NETSDKE2E][Loc]With .NET8 preview RC2 installed on Loc OS, the string "description" is not localized in help text in CLI.
- install NET8 RC2 SDK: 8.0.100-rc.2.23456.6(runtime- 8.0.0-rc.2.23431.9)
2.Run “dotnet build --help” in CLI. 3.Check if output contents are localized well.
All strings are localized well.
The string "description" are not localized.
German:
Chinese:
English:
Note:
in all help text, the string "description" is unlocalized. e.g: dotnet workload clean --help
dotnet --info:
The "Description:" text comes from the https://github.com/dotnet/command-line-api/ repository. The translations of many string resources are missing:
$ git grep --count '<target state="new">' 02fe27cd6a9b001c8feb7938e6ef4b3799745759 -- '*.xlf'
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.cs.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.de.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.es.xlf:2
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.fr.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.it.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.ja.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.ko.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.pl.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.pt-BR.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.ru.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.tr.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.zh-Hans.xlf:19
02fe27cd6a9b001c8feb7938e6ef4b3799745759:src/System.CommandLine/Properties/xlf/Resources.zh-Hant.xlf:19
Thanks @KalleOlaviNiemitalo. CC @dotnet/system-commandline @jonsequitur @baronfel @jeffhandley