microsoft / microsoft/winget-cli
winget-cli uses secondary installed os langauge for output
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Relevant area(s)
WinGet CLI
Relevant command(s)
winget upgrade, winget install, winget configure, winget download, winget dscv3, winget export, winget features, winget font, winget hash, winget import, winget list, winget pin, winget mcp, winget repair, winget search, winget settings, winget show, winget source, winget uninstall, winget validate
Brief description of your issue
I am using the Polish language in Windows. I have my region set to Poland. After installing the Chinese (simplified, continental) basic writing and handwriting support as a secondary system preference, the WingGet CLI started to show output in Chinese.
Steps to reproduce
- Install Chinese basic writing and handwriting support for Windows
- Set Chinese as secondary preference
- Use any of the WinGet CLI commands and observe the output language
Expected behavior
WinGet CLI should use the Windows language or English.
Actual behavior
WinGet CLI uses the secondary (or last installed) language
Environment
Windows 程序包管理器 v1.28.240
版权所有 (C) Microsoft Corporation。保留所有权利。
Windows: Windows.Desktop v10.0.26200.7171
系统体系结构: X64
软件包: Microsoft.DesktopAppInstaller v1.28.240.0
Winget 目录
-------------------------------------------------------------------------------------------------------------------
日志 %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
用户设置 %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
可移植链接目录(用户) %LOCALAPPDATA%\Microsoft\WinGet\Links
可移植链接目录(计算机) C:\Program Files\WinGet\Links
可移植包根目录(用户) %LOCALAPPDATA%\Microsoft\WinGet\Packages
可移植包根目录 C:\Program Files\WinGet\Packages
可移植包根目录 (x86) C:\Program Files (x86)\WinGet\Packages
安装程序下载 %USERPROFILE%\Downloads
配置模块 %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
链接
----------------------------------------------------------------------------
隐私声明 https://aka.ms/winget-privacy
许可协议 https://aka.ms/winget-license
第三方声明 https://aka.ms/winget-3rdPartyNotice
主页 https://aka.ms/winget
Windows 应用商店条款 https://www.microsoft.com/en-us/storedocs/terms-of-sale
管理员设置 状态
------------------------------------------------
LocalManifestFiles 已禁用
BypassCertificatePinningForMicrosoftStore 已禁用
InstallerHashOverride 已禁用
LocalArchiveMalwareScanOverride 已禁用
ProxyCommandLineOptions 已禁用
DefaultProxy 已禁用
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the WinGet CLI entry points for the affected commands and trace how the current Windows language is selected for output. Reproduce the issue with Chinese installed as a secondary preference, then verify that all listed commands use the Windows language or English instead of the secondary language.
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
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100