microsoft / microsoft/winget-cli

unpredictable package locale

Open
#5,107 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Localization Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue
Get-WinSystemLocale

LCID             Name             DisplayName
----             ----             -----------
1033             en-US            English (United States)
Get-WinUserLanguageList

LanguageTag     : en-US
Autonym         : English (United States)
EnglishName     : English
LocalizedName   : English (United States)
ScriptName      : Latin
InputMethodTips : {0409:00000409, 0409:00000407}
Spellchecking   : True
Handwriting     : False

LanguageTag     : de-DE
Autonym         : Deutsch (Deutschland)
EnglishName     : German
LocalizedName   : German (Germany)
ScriptName      : Latin
InputMethodTips : {0407:00000407}
Spellchecking   : True
Handwriting     : False

https://github.com/microsoft/winget-pkgs/tree/master/manifests/s/ScooterSoftware/BeyondCompare/5

winget install ScooterSoftware.BeyondCompare.5

Winget downloads and installs the de-DE locale of Beyond Compare.
Is is not possible to install the en-US locale as long as there is a german entry in the WinUserLanguageList.
The only way to install the en-US locale is to remove the german language pack.

https://github.com/microsoft/winget-pkgs/issues/207619
https://github.com/microsoft/winget-cli/issues/4082

Steps to reproduce

winget install ScooterSoftware.BeyondCompare.5

Expected behavior

winget install ScooterSoftware.BeyondCompare.5

Found Beyond Compare 5 [ScooterSoftware.BeyondCompare.5] Version 5.0.4.30422
Downloading https://www.scootersoftware.com/files/BCompare-5.0.4.30422.exe
Successfully installed

Actual behavior

winget install ScooterSoftware.BeyondCompare.5

Found Beyond Compare 5 [ScooterSoftware.BeyondCompare.5] Version 5.0.4.30422
Downloading https://www.scootersoftware.com/files/BCompare-de-5.0.4.30422.exe
Successfully installed

Environment
Windows Package Manager v1.9.25200
Windows: Windows.Desktop v10.0.26100.2605
Package: Microsoft.DesktopAppInstaller v1.24.25200.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reproducing winget install ScooterSoftware.BeyondCompare.5 in the stated Windows Package Manager environment with both en-US and de-DE in WinUserLanguageList. Compare the selected download URL with the manifest and linked reports; done means the command selects the expected en-US installer without requiring removal of the German language pack.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, localization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.