-
Notifications
You must be signed in to change notification settings - Fork 100
Description
New commands and arguments to help with localization
As someone who prefers a language other than American English (en-US) I want to be able to add or modify localized content to manifests so I can read descriptions in my preferred language.
Proposed technical implementation details (optional)
Two new commands: wingetcreate new-locale and wingetcreate update-locale
wingetcreate new-locale
wingetcreate new-locale <PackageIdentifier>
Targets the latest version, and asks the user for the locale they would like to provide. If the locale is already present, the user should be prompted to use wingetcreate update-locale.
If the locale is not present then it provides the default locale for reference so the user can interactively provide the localized content for an additional locale.
wingetcreate update-locale
wingetcreate update-locale <PackageIdentifier>
Targets the latest version, and asks the user for the locale they would like to provide. If the locale is not already present, the user should be prompted to use wingetcreate new-locale.
If the locale is present then it provides the default locale and the current localized content so the user can interactively provide modified localized content for the locale.
Additional arguments
--locale <locale>: Specify the locale to add or update.
--reference-locale <locale>: Specify the locale for comparison other than the default locale.
--version <version>: Specify the version for an earlier version of the package .