new-locale command (Winget-Create)

January 6, 2026 · View on GitHub

The new-locale command of the Winget-Create tool is designed to create a new locale for an existing manifest from the Windows Package Manager repo. This command offers an interactive flow, prompting user for a set of locale fields and then generating a new locale manifest.

Usage

Add a new locale for the latest version of a package:

wingetcreate.exe new-locale <PackageIdentifier> --token <GitHubPersonalAccessToken>

Add a new locale for a specific version of a package:

wingetcreate.exe new-locale <PackageIdentifier> --token <GitHubPersonalAccessToken> --version <Version>

Create a new locale and save the generated manifests to a specified directory:

wingetcreate.exe new-locale <PackageIdentifier> --out <OutputDirectory> --token <GitHubPersonalAccessToken> --version <Version>

Arguments

The following arguments are available:

ArgumentDescription
idRequired. Package identifier used to lookup the existing manifest on the Windows Package Manager repo.
-v, --versionThe version of the package to add a new locale for. Default is the latest version.
-l, --localeThe package locale to create a new manifest for. If not provided, the tool will prompt you for this value.
-r, --reference-localeExisting locale manifest to be used as reference for default values. If not provided, the default locale manifest will be used.
-o, --outThe output directory where the newly created manifests will be saved locally.
-f, --formatOutput format of the manifest. Default is "yaml".
-t, --tokenGitHub personal access token used for direct submission to the Windows Package Manager repo.
⚠️ Using this argument may result in the token being logged. Consider an alternative approach https://aka.ms/winget-create-token.
-n, --no-openBoolean value that controls whether the pull request should not be open in the browser on submission. Default is false, meaning the PR will be opened in the browser.
-?, --helpGets additional help on this command

Instructions on setting up GitHub Token for Winget-Create can be found here.