Description
The French satellite assembly (fr/System.CommandLine.resources.dll) shipped with System.CommandLine 2.0.9 contains untranslated strings.
Current behavior
When CultureInfo.DefaultThreadCurrentUICulture is set to fr-FR and a required option is missing:
Option '--input' is required.
Expected behavior
The message should be in French:
L'option '--input' est obligatoire.
Analysis
Inspecting the fr/System.CommandLine.resources.dll satellite assembly shows that RequiredOptionWasNotProvided still holds the English text, along with several other untranslated keys (ArgumentConversionCannotParse, HelpOptionDescription, HelpOptionsRequiredLabel, SuggestionsTokenNotMatched, etc.).
Environment
- System.CommandLine version: 2.0.9
- .NET version: net10.0
Suggested fix
Update the French resource file to translate all missing keys, at minimum:
- RequiredOptionWasNotProvided = L'option '{0}' est obligatoire.
- HelpOptionsRequiredLabel = (OBLIGATOIRE)
Description
The French satellite assembly (fr/System.CommandLine.resources.dll) shipped with System.CommandLine 2.0.9 contains untranslated strings.
Current behavior
When CultureInfo.DefaultThreadCurrentUICulture is set to fr-FR and a required option is missing:
Option '--input' is required.Expected behavior
The message should be in French:
L'option '--input' est obligatoire.Analysis
Inspecting the fr/System.CommandLine.resources.dll satellite assembly shows that RequiredOptionWasNotProvided still holds the English text, along with several other untranslated keys (ArgumentConversionCannotParse, HelpOptionDescription, HelpOptionsRequiredLabel, SuggestionsTokenNotMatched, etc.).
Environment
Suggested fix
Update the French resource file to translate all missing keys, at minimum: