Skip to content

Parts of command-line parser output are not localized #251

@chausner

Description

@chausner

Brief description of your issue

Some parts of the program output related to command-line argument help and parsing are not localized.

The CommandLineParser library supports localization, see https://github.com/commandlineparser/commandline/wiki/Help-Localization:

To localize the keywords "Required,Default" and the error messages, ...

Steps to reproduce

Run wingetcreate cache on a non-English system (e.g. German).

Expected behavior

All output should be localized.

Actual behavior

It outputs:

Windows Manifest Creator v1.0.3.0

Copyright (c) Microsoft Corporation. All rights reserved.

Das Befehlszeilenprogramm zur Manifesterstellung generiert Manifeste für die
Übermittlung von Anwendungen an das Windows-Paket-Manager-Repository.

  -c, --clean    Required. Löscht alle heruntergeladenen Installationsprogramme im Cacheordner.
  -l, --list     Required. Listet alle heruntergeladenen Installationsprogramme auf, die im Cache
                 gespeichert sind.
  -o, --open     Required. Öffnet den Cacheordner, in dem die heruntergeladenen
                 Installationsprogramme gespeichert sind.

Weitere Hilfe finden Sie unter: https://aka.ms/winget-create
Datenschutzbestimmungen: https://aka.ms/privacy

 Required option 'c, clean' is missing.
 Required option 'l, list' is missing.
 Required option 'o, open' is missing.

Note the unlocalized "Required." and the error messages "Required option '...' is missing.".

Environment

Windows Manifest Creator v1.0.3.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions