marticliment / UniGetUI

UniGetUI: The Graphical Interface for your package managers. Could be terribly described as a package manager manager to manage your package managers
https://www.marticliment.com/unigetui/
MIT License
13.24k stars 457 forks source link

[BUG] WingetUI loads user locale instead of user's language for system language #543

Closed ppvnf closed 8 months ago

ppvnf commented 1 year ago

This happened on an unactivated Windows 11. I guess there was some change on version 1.5.2 that broke this feature.

I've tested on activated Windows 10 and I am also unable to change language - it will keep stuck at system language (the only way is by changing Windows language and reseting WingetUI settings).

I am not able to change the language interface. For example, if I change the language from Portuguese to English it will show as system language, but the interface will remain in Portuguese. If I change from Portuguese to another language it will remain in Portuguese and keep showing as Portuguese.

Video:

https://user-images.githubusercontent.com/73800734/209736028-ab264734-dda9-48ec-96a5-df67348426f2.mp4

Originally posted by @ppvnf in https://github.com/marticliment/WingetUI/issues/428#issuecomment-1366258233

.WingetUI folder:

.wingetui.zip

Log (Windows 10 - after changing from PT to EN):

``` C:\Users\PICHAU\scoop\apps\wingetui\current\sudo\gsudo.exe C:\Users\PICHAU\scoop\apps\wingetui\current\sudo 🟢 checkQueue Thread started! 🟢 Using cached lang file 🟡 Using bundled lang file (forced=True) It took 0.003414630889892578 to load all language files 🔵 Starting main application... Scanning for instances... Found lock file(s), reactivating... 🔵 Language file up-to-date b'v1.3.0' None updating winget b"Current Scoop version:\nv0.3.1 - Released at 2022-11-15\n\n'expert-parakeet' bucket:\n0dd2cfa Delete duckstation-preview.json\n\n'extras' bucket:\n852e9567f threema: Fix `pre_install` for PowerShell 5 (#10127)\n\n'games' bucket:\n81e79041 pcsx2-dev: Update to version 1.7.3802\n\n'jr-bucket' bucket:\nfa3421d Updated apps\n\n'main' bucket:\n0ea219818 kotlin-native: Update to version 1.8.0\n\n'nonportable' bucket:\nfb1a951 spotx-np: Update to version 6.18\n\n'scoop-bucket' bucket:\ndd9c885 Jackett: Update to version 0.20.2447\n\n" None Reactivation signal ignored: RaiseWindow_[1672233781.769682] 🟢 Downloaded latest metadata to local file 🔵 Loaded metadata from local file {'wingetFound': True, 'scoopFound': True, 'sudoFound': True, 'wingetVersion': 'v1.3.0', 'scoopVersion': 'v0.3.1 - Released at 2022-11-15', 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r'} Reached main ui load milestone 🔵 Is Dark 🟢 Starting winget search, winget on C:\Users\PICHAU\scoop\apps\wingetui\current\winget-cli\winget.exe... 🟢 Starting scoop search... 🟢 Discover tab loaded 🟢 Starting winget search, winget on C:\Users\PICHAU\scoop\apps\wingetui\current\winget-cli\winget.exe... 🟢 Starting scoop search... 🟢 Upgrades tab loaded 🟢 Starting winget search, winget on C:\Users\PICHAU\scoop\apps\wingetui\current\winget-cli\winget.exe... 🟢 Starting scoop search... 🟢 Discover tab loaded 🔴 Traceback (most recent call last): ERROR Traceback (most recent call last): ERROR File ".\uiSections.py", line 2114, in __init__ ERROR File ".\tools.py", line 46, in cprint ERROR File "encodings\cp1252.py", line 19, in encode ERROR UnicodeEncodeError: 'charmap' codec can't encode characters in position 41-45: character maps to ERROR Note this traceback was caught by reporter and has been added to the log ('charmap' codec can't encode characters in position 41-45: character maps to ) 🟢 Starting scoop search... 🟢 Settings tab loaded! 🟢 About tab loaded! 🟢 Main application loaded... Win32Mica Error: win32 version 19044 is not supported Name Id Version Available 🟢 Winget search finished ATNSOFT.KeyRemapper was blackisted 🟢 Searching for string "" 🟢 Winget uninstallable packages search finished 🟢 Searching for string "" 🟢 Scoop bucket search finished 🟢 Scoop search finished 🟢 Searching for string "" 🟢 Searching for string "" 🟢 Total packages: 207 <_io.BufferedReader name=4> None 🟡 package 优效文件助手 YouXia failed parsing, going for method 2... b'\xe4\xbc\x98\xe6\x95\x88\xe6\x96\x87\xe4\xbb\xb6\xe5\x8a\xa9\xe6\x89\x8b YouXiao.YXFile 2.2.12.12 Moniker:' 80 🟡 package 优效日历 YouX failed parsing, going for method 2... b'\xe4\xbc\x98\xe6\x95\x88\xe6\x97\xa5\xe5\x8e\x86 YouXiao.YXCalendar 2.2.12.20 Moniker:' 80 🟡 package 优酷 Yo failed parsing, going for method 2... b'\xe4\xbc\x98\xe9\x85\xb7 Youku.Youku 9.2.11.1005 Moniker:' 80 🟡 package 知云文献翻译 Yemiao failed parsing, going for method 2... b'\xe7\x9f\xa5\xe4\xba\x91\xe6\x96\x87\xe7\x8c\xae\xe7\xbf\xbb\xe8\xaf\x91 Yemiao.ZhiyunTranslator 7.7.2 Moniker:' 80 🟡 package 迅雷 Xu failed parsing, going for method 2... b'\xe8\xbf\x85\xe9\x9b\xb7 XunLei.xunlei 11.3.4.1850 Moniker:' 80 🟡 package 场辞 xi failed parsing, going for method 2... b'\xe5\x9c\xba\xe8\xbe\x9e xinpianchang.StudioTrans 1.2.4 Moniker:' 80 🟡 package 喜马拉雅直播助手 Ximalaya failed parsing, going for method 2... b'\xe5\x96\x9c\xe9\xa9\xac\xe6\x8b\x89\xe9\x9b\x85\xe7\x9b\xb4\xe6\x92\xad\xe5\x8a\xa9\xe6\x89\x8b Ximalaya.XimalayaLive 4.15.469 Moniker:' 80 🟡 package 喜马拉雅 Xima failed parsing, going for method 2... b'\xe5\x96\x9c\xe9\xa9\xac\xe6\x8b\x89\xe9\x9b\x85 Ximalaya.Ximalaya 3.3.0 Moniker:' 80 🟡 package 网易云音乐 xiaoz failed parsing, going for method 2... b'\xe7\xbd\x91\xe6\x98\x93\xe4\xba\x91\xe9\x9f\xb3\xe4\xb9\x90 xiaozhu188.electron-vue-cloud-music 1.2.3 Moniker:' 80 🟡 package 小米云服务 Xiaom failed parsing, going for method 2... b'\xe5\xb0\x8f\xe7\xb1\xb3\xe4\xba\x91\xe6\x9c\x8d\xe5\x8a\xa1 Xiaomi.XiaomiCloud 2.1.1 Moniker:' 80 🟡 package 小鹅通助手 Xiaoe failed parsing, going for method 2... b'\xe5\xb0\x8f\xe9\xb9\x85\xe9\x80\x9a\xe5\x8a\xa9\xe6\x89\x8b Xiaoe.Xiaoetong 1.10.13 Moniker:' 80 🟡 package 万兴数据管家 Wonder failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe6\x95\xb0\xe6\x8d\xae\xe7\xae\xa1\xe5\xae\xb6 Wondershare.WXRecovery 3.5.14.8 Moniker:' 80 🟡 package 万兴优转 Wond failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe4\xbc\x98\xe8\xbd\xac Wondershare.UniConverter.CN 14.0.4.30 Moniker:' 80 🟡 package 万兴易修 Wond failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe6\x98\x93\xe4\xbf\xae Wondershare.Repairit.CN 3.0.0.6 Moniker:' 80 🟡 package 万兴恢复专家 Wonder failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe6\x81\xa2\xe5\xa4\x8d\xe4\xb8\x93\xe5\xae\xb6 Wondershare.Recoverit.CN 6.5.2.5 Moniker:' 80 🟡 package 万兴PDF阅读器 Wonde failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4PDF\xe9\x98\x85\xe8\xaf\xbb\xe5\x99\xa8 Wondershare.PDFReader.CN 1.0.8 Moniker:' 80 🟡 package 万兴PDF Wo failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4PDF Wondershare.PDFelement.CN 9.3.2 Moniker:' 80 🟡 package 万兴喵影 Wond failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe5\x96\xb5\xe5\xbd\xb1 Wondershare.Filmora.CN 6.2.4 Moniker:' 80 🟡 package 万兴录演 Wond failed parsing, going for method 2... b'\xe4\xb8\x87\xe5\x85\xb4\xe5\xbd\x95\xe6\xbc\x94 Wondershare.DemoCreator.CN 6.2.4 Moniker:' 80 🟡 package 绘画助手 ULAB failed parsing, going for method 2... b'\xe7\xbb\x98\xe7\x94\xbb\xe5\x8a\xa9\xe6\x89\x8b ULAB.PaintAid 2.3.3.0 Moniker:' 80 🟡 package 全球学术快报 TTKN.C failed parsing, going for method 2... b'\xe5\x85\xa8\xe7\x90\x83\xe5\xad\xa6\xe6\x9c\xaf\xe5\xbf\xab\xe6\x8a\xa5 TTKN.CNKIExpress 0.1.21 Moniker:' 80 🟡 package 华宇拼音输入法 Thuniso failed parsing, going for method 2... b'\xe5\x8d\x8e\xe5\xae\x87\xe6\x8b\xbc\xe9\x9f\xb3\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Thunisoft.HuayuPY 7.3.0.296 Moniker:' 80 🟡 package 迅雷影音 Thun failed parsing, going for method 2... b'\xe8\xbf\x85\xe9\x9b\xb7\xe5\xbd\xb1\xe9\x9f\xb3 Thunder.Xmp 6.2.3.590 Moniker:' 80 🟡 package 同花顺远航版 THS.TH failed parsing, going for method 2... b'\xe5\x90\x8c\xe8\x8a\xb1\xe9\xa1\xba\xe8\xbf\x9c\xe8\x88\xaa\xe7\x89\x88 THS.THS.Hevo 8.8.1.0 Moniker:' 80 🟡 package 全民K歌主播版 Tencen failed parsing, going for method 2... b'\xe5\x85\xa8\xe6\xb0\x91K\xe6\xad\x8c\xe4\xb8\xbb\xe6\x92\xad\xe7\x89\x88 Tencent.WeSingLiveAssistant 0.0.0.0 Moniker:' 80 🟡 package 全民K歌 Ten failed parsing, going for method 2... b'\xe5\x85\xa8\xe6\xb0\x91K\xe6\xad\x8c Tencent.WeSing 2.21.170.63 Moniker:' 80 🟡 package 微云同步助手 Tencen failed parsing, going for method 2... b'\xe5\xbe\xae\xe4\xba\x91\xe5\x90\x8c\xe6\xad\xa5\xe5\x8a\xa9\xe6\x89\x8b Tencent.WeiyunSync 3.0 Moniker:' 80 🟡 package 微信开发者工具 Tencent failed parsing, going for method 2... b'\xe5\xbe\xae\xe4\xbf\xa1\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 Tencent.WeixinDevTools 1.06.2212011 Moniker:' 80 🟡 package 腾讯视频 Tenc failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe8\xa7\x86\xe9\xa2\x91 Tencent.TencentVideo 11.60.7110.0 Moniker:' 80 🟡 package 腾讯文档 Tenc failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe6\x96\x87\xe6\xa1\xa3 Tencent.TencentDocs 2.4.5 Moniker:' 80 🟡 package QQ五笔输入法 Tence failed parsing, going for method 2... b'QQ\xe4\xba\x94\xe7\xac\x94\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Tencent.QQWubi 2.4 Moniker:' 80 🟡 package QQ影音 Te failed parsing, going for method 2... b'QQ\xe5\xbd\xb1\xe9\x9f\xb3 Tencent.QQPlayer 4.6.3.1104 Moniker:' 80 🟡 package QQ拼音输入法 Tence failed parsing, going for method 2... b'QQ\xe6\x8b\xbc\xe9\x9f\xb3\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Tencent.QQPinyin 6.6 Moniker:' 80 🟡 package QQ音乐 Te failed parsing, going for method 2... b'QQ\xe9\x9f\xb3\xe4\xb9\x90 Tencent.QQMusic 19.06 Moniker:' 80 🟡 package QQ浏览器 Ten failed parsing, going for method 2... b'QQ\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 Tencent.QQBrowser 11.1.5155.400 Moniker:' 80 🟡 package QQ小程序开发者工具 Tencent. failed parsing, going for method 2... b'QQ\xe5\xb0\x8f\xe7\xa8\x8b\xe5\xba\x8f\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 Tencent.qq-devtool 0.70.2209190 Moniker:' 80 🟡 package 腾讯QQ Te failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xafQQ Tencent.QQ 9.7.1.28924 Moniker:' 80 🟡 package 腾讯企点 Tenc failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe4\xbc\x81\xe7\x82\xb9 Tencent.QiDian 5.5.0.19392 Moniker:' 80 🟡 package 腾讯课堂极速版 Tencent failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe8\xaf\xbe\xe5\xa0\x82\xe6\x9e\x81\xe9\x80\x9f\xe7\x89\x88 Tencent.EDULite 3.1.6.165 Moniker:' 80 🟡 package 腾讯课堂 Tenc failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe8\xaf\xbe\xe5\xa0\x82 Tencent.EDU 4.1.6.2 Moniker:' 80 🟡 package 腾讯桌面整理 Tencen failed parsing, going for method 2... b'\xe8\x85\xbe\xe8\xae\xaf\xe6\xa1\x8c\xe9\x9d\xa2\xe6\x95\xb4\xe7\x90\x86 Tencent.DeskGo 3.2.1445.127 Moniker:' 80 🟡 package 消极压制 TedZ failed parsing, going for method 2... b'\xe6\xb6\x88\xe6\x9e\x81\xe5\x8e\x8b\xe5\x88\xb6 TedZyzsdy.NegativeEncoder 5.0.6 Moniker:' 80 🟡 package 搜狐影音 Sohu failed parsing, going for method 2... b'\xe6\x90\x9c\xe7\x8b\x90\xe5\xbd\xb1\xe9\x9f\xb3 Sohu.SHPlayer 7.0.18.0 Moniker:' 80 🟡 package 搜狗五笔输入法 Sogou.S failed parsing, going for method 2... b'\xe6\x90\x9c\xe7\x8b\x97\xe4\xba\x94\xe7\xac\x94\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Sogou.SogouWBInput 5.5.0.2582 Moniker:' 80 🟡 package 搜狗输入法 Sogou failed parsing, going for method 2... b'\xe6\x90\x9c\xe7\x8b\x97\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Sogou.SogouInput 13.0.0.6801 Moniker:' 80 🟡 package OCR助手 Sm failed parsing, going for method 2... b'OCR\xe5\x8a\xa9\xe6\x89\x8b SmartOldFish.OCRTools 1.0.0.0 Moniker:' 80 🟡 package 旗鱼浏览器 Ruanm failed parsing, going for method 2... b'\xe6\x97\x97\xe9\xb1\xbc\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 Ruanmei.Qiyu 2.1.1.2 Moniker:' 80 🟡 package 小狼毫輸入法 Rime.W failed parsing, going for method 2... b'\xe5\xb0\x8f\xe7\x8b\xbc\xe6\xaf\xab\xe8\xbc\xb8\xe5\x85\xa5\xe6\xb3\x95 Rime.Weasel 0.14.3 Moniker:' 80 🟡 package 黑盒工坊 Qing failed parsing, going for method 2... b'\xe9\xbb\x91\xe7\x9b\x92\xe5\xb7\xa5\xe5\x9d\x8a Qingfeng.HeyboxWow 1.9.8 Moniker:' 80 🟡 package 芦笋 Pr failed parsing, going for method 2... b'\xe8\x8a\xa6\xe7\xac\x8b Principle.Lusun 1.8.11 Moniker:' 80 🟡 package 舆情监控系统 poetri failed parsing, going for method 2... b'\xe8\x88\x86\xe6\x83\x85\xe7\x9b\x91\xe6\x8e\xa7\xe7\xb3\xbb\xe7\xbb\x9f poetries.yuqing-monitor-electron 0.0.1 Moniker:' 80 🟡 package 蒸汽平台 Perf failed parsing, going for method 2... b'\xe8\x92\xb8\xe6\xb1\xbd\xe5\xb9\xb3\xe5\x8f\xb0 PerfectWorld.SteamChina 2.10.91.91 Moniker:' 80 🟡 package 我的世界启动器 NetEase failed parsing, going for method 2... b'\xe6\x88\x91\xe7\x9a\x84\xe4\xb8\x96\xe7\x95\x8c\xe5\x90\xaf\xe5\x8a\xa8\xe5\x99\xa8 NetEase.MCLauncher 1.9.0.2363 Moniker:' 80 🟡 package 网易邮箱大师 NetEas failed parsing, going for method 2... b'\xe7\xbd\x91\xe6\x98\x93\xe9\x82\xae\xe7\xae\xb1\xe5\xa4\xa7\xe5\xb8\x88 NetEase.MailMaster 4.17.8.1009 Moniker:' 80 🟡 package 网易云音乐 NetEa failed parsing, going for method 2... b'\xe7\xbd\x91\xe6\x98\x93\xe4\xba\x91\xe9\x9f\xb3\xe4\xb9\x90 NetEase.CloudMusic 2.10.6.200601 Moniker:' 80 🟡 package 钉钉 na failed parsing, going for method 2... b'\xe9\x92\x89\xe9\x92\x89 nashaofu.dingtalk 2.1.22 Moniker:' 80 🟡 package 幕布 Mu failed parsing, going for method 2... b'\xe5\xb9\x95\xe5\xb8\x83 Mubu.Mubu 3.6.0 Moniker:' 80 🟡 package 電子佛典 MrMY failed parsing, going for method 2... b'\xe9\x9b\xbb\xe5\xad\x90\xe4\xbd\x9b\xe5\x85\xb8 MrMYHuang.cbetar2 19.2.0 Moniker:' 80 🟡 package 鼠鼠下载器 MoyuS failed parsing, going for method 2... b'\xe9\xbc\xa0\xe9\xbc\xa0\xe4\xb8\x8b\xe8\xbd\xbd\xe5\x99\xa8 MoyuScript.DoubleMouseDownloader 1.1.1 Moniker:' 80 🟡 package 钱迹 Li failed parsing, going for method 2... b'\xe9\x92\xb1\xe8\xbf\xb9 LiTang.QianJi 3.0.11 Moniker:' 80 🟡 package 联想乐云 Leno failed parsing, going for method 2... b'\xe8\x81\x94\xe6\x83\xb3\xe4\xb9\x90\xe4\xba\x91 Lenovo.LeCloud 2.501.25.0 Moniker:' 80 🟡 package 联想应用商店 Lenovo failed parsing, going for method 2... b'\xe8\x81\x94\xe6\x83\xb3\xe5\xba\x94\xe7\x94\xa8\xe5\x95\x86\xe5\xba\x97 Lenovo.LeAppStore 8.4.30.1101 Moniker:' 80 🟡 package 手心输入法 KuRui failed parsing, going for method 2... b'\xe6\x89\x8b\xe5\xbf\x83\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 KuRuimeng.PalmInput 2.7.0.1702 Moniker:' 80 🟡 package 酷狗音乐 KuGo failed parsing, going for method 2... b'\xe9\x85\xb7\xe7\x8b\x97\xe9\x9f\xb3\xe4\xb9\x90 KuGou.KGMusic 10.1.12 Moniker:' 80 🟡 package 歌叽歌叽 KuGo failed parsing, going for method 2... b'\xe6\xad\x8c\xe5\x8f\xbd\xe6\xad\x8c\xe5\x8f\xbd KuGou.gejigeji 2.0.2.1268 Moniker:' 80 🟡 package 金山打字通 Kings failed parsing, going for method 2... b'\xe9\x87\x91\xe5\xb1\xb1\xe6\x89\x93\xe5\xad\x97\xe9\x80\x9a Kingsoft.TypeEasy 2.2.0.56 Moniker:' 80 🟡 package 金山PDF独立版 Kings failed parsing, going for method 2... b'\xe9\x87\x91\xe5\xb1\xb1PDF\xe7\x8b\xac\xe7\xab\x8b\xe7\x89\x88 Kingsoft.KingsoftPDF 11.6.0.8806 Moniker:' 80 🟡 package 金山文档 King failed parsing, going for method 2... b'\xe9\x87\x91\xe5\xb1\xb1\xe6\x96\x87\xe6\xa1\xa3 Kingsoft.KDocs 3.7.9 Moniker:' 80 🟡 package 卡饭输入法 Kafan failed parsing, going for method 2... b'\xe5\x8d\xa1\xe9\xa5\xad\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Kafan.KafanInput 1.0.0.285 Moniker:' 80 🟡 package 蓝湖 Ji failed parsing, going for method 2... b'\xe8\x93\x9d\xe6\xb9\x96 JinweiZhiguang.Lanhu.Photoshop 2.402.0 Moniker:' 80 🟡 package 爱奇艺 iQI failed parsing, going for method 2... b'\xe7\x88\xb1\xe5\xa5\x87\xe8\x89\xba iQIYI.iQIYI 9.12.170.6570 Moniker:' 80 🟡 package 讯飞输入法 iFlyt failed parsing, going for method 2... b'\xe8\xae\xaf\xe9\xa3\x9e\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 iFlytek.iFlyIME 3.0.1732 Moniker:' 80 🟡 package 极速玩转 Hite failed parsing, going for method 2... b'\xe6\x9e\x81\xe9\x80\x9f\xe7\x8e\xa9\xe8\xbd\xac Hitencent.JisuTodo 1.0.2.32 Moniker:' 80 🟡 package 极速PDF转WORD Hit failed parsing, going for method 2... b'\xe6\x9e\x81\xe9\x80\x9fPDF\xe8\xbd\xacWORD Hitencent.JisuPDFToWord 2.0 Moniker:' 80 🟡 package 极速PDF编辑器 Hiten failed parsing, going for method 2... b'\xe6\x9e\x81\xe9\x80\x9fPDF\xe7\xbc\x96\xe8\xbe\x91\xe5\x99\xa8 Hitencent.JisuPDFEditor 3.0 Moniker:' 80 🟡 package 极速PDF阅读器 Hiten failed parsing, going for method 2... b'\xe6\x9e\x81\xe9\x80\x9fPDF\xe9\x98\x85\xe8\xaf\xbb\xe5\x99\xa8 Hitencent.JisuPDF 3.0.0.3008 Moniker:' 80 🟡 package 字由 He failed parsing, going for method 2... b'\xe5\xad\x97\xe7\x94\xb1 Hellofont.Hellofont 3.0.3 Moniker:' 80 🟡 package Google 日本語入力 Googl failed parsing, going for method 2... b'Google \xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe5\x85\xa5\xe5\x8a\x9b Google.JapaneseIME 2.28.4650.0 Moniker:' 80 🟡 package CAD快速看图 Glod failed parsing, going for method 2... b'CAD\xe5\xbf\xab\xe9\x80\x9f\xe7\x9c\x8b\xe5\x9b\xbe Glodon.CADReader.CN 5.17.4.89 Moniker:' 80 🟡 package 识字体 Fon failed parsing, going for method 2... b'\xe8\xaf\x86\xe5\xad\x97\xe4\xbd\x93 Fontke.LikeFont 2.0.0 Moniker:' 80 🟡 package 硕鼠 FL failed parsing, going for method 2... b'\xe7\xa1\x95\xe9\xbc\xa0 FLVCD.Bigrats 0.4.9.4 \xe6\xad\xa3\xe5\xbc\x8f\xe7\x89\x88 Moniker:' 80 🟡 package 欧路词典 EuSo failed parsing, going for method 2... b'\xe6\xac\xa7\xe8\xb7\xaf\xe8\xaf\x8d\xe5\x85\xb8 EuSoft.Eudic 13.0.0.0 Moniker:' 80 🟡 package 亿图信息图制作工具 EdrawSoft failed parsing, going for method 2... b'\xe4\xba\xbf\xe5\x9b\xbe\xe4\xbf\xa1\xe6\x81\xaf\xe5\x9b\xbe\xe5\x88\xb6\xe4\xbd\x9c\xe5\xb7\xa5\xe5\x85\xb7 EdrawSoft.EdrawInfo.CN 9.5 Moniker:' 80 🟡 package 斗鱼直播 Douy failed parsing, going for method 2... b'\xe6\x96\x97\xe9\xb1\xbc\xe7\x9b\xb4\xe6\x92\xad Douyu.DouyuLive 8.6.1.1 Moniker:' 80 🟡 package 方块游戏平台 Cube.C failed parsing, going for method 2... b'\xe6\x96\xb9\xe5\x9d\x97\xe6\xb8\xb8\xe6\x88\x8f\xe5\xb9\xb3\xe5\x8f\xb0 Cube.CubePlatform 3.7.4.1 Moniker:' 80 🟡 package 恒星播放器 Coldl failed parsing, going for method 2... b'\xe6\x81\x92\xe6\x98\x9f\xe6\x92\xad\xe6\x94\xbe\xe5\x99\xa8 Coldlake.StellarPlayer 1.22.1207.856 Moniker:' 80 🟡 package 央视影音 CCTV failed parsing, going for method 2... b'\xe5\xa4\xae\xe8\xa7\x86\xe5\xbd\xb1\xe9\x9f\xb3 CCTV.CBox 5.1.2.1 Moniker:' 80 🟡 package 乐启office工具箱 caobi failed parsing, going for method 2... b'\xe4\xb9\x90\xe5\x90\xafoffice\xe5\xb7\xa5\xe5\x85\xb7\xe7\xae\xb1 caobinrg.electron-office-tools 0.0.1 Moniker:' 80 🟡 package 天鳳 c- failed parsing, going for method 2... b'\xe5\xa4\xa9\xe9\xb3\xb3 c-egg.tenhou 1.3.0.0 Moniker:' 80 🟡 package 直播伴侣 Byte failed parsing, going for method 2... b'\xe7\x9b\xb4\xe6\x92\xad\xe4\xbc\xb4\xe4\xbe\xa3 ByteDance.StreamingTool 4.2.5 Moniker:' 80 🟡 package 剪映专业版 ByteD failed parsing, going for method 2... b'\xe5\x89\xaa\xe6\x98\xa0\xe4\xb8\x93\xe4\xb8\x9a\xe7\x89\x88 ByteDance.JianyingPro 3.6.5.9422 Moniker:' 80 🟡 package 抖音 By failed parsing, going for method 2... b'\xe6\x8a\x96\xe9\x9f\xb3 ByteDance.Douyin 1.6.1 Moniker:' 80 🟡 package 字节跳动开发者工具 ByteDance failed parsing, going for method 2... b'\xe5\xad\x97\xe8\x8a\x82\xe8\xb7\xb3\xe5\x8a\xa8\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 ByteDance.BytedanceMiniappIDE 3.3.7-1 Moniker:' 80 🟡 package 比译 Bi failed parsing, going for method 2... b'\xe6\xaf\x94\xe8\xaf\x91 Biyi.Biyi 0.4.0+11 Moniker:' 80 🟡 package B站录播姬 Bili failed parsing, going for method 2... b'B\xe7\xab\x99\xe5\xbd\x95\xe6\x92\xad\xe5\xa7\xac Bililive.BililiveRecorder 1.3.8 Moniker:' 80 🟡 package 哔哩哔哩直播姬 Bilibil failed parsing, going for method 2... b'\xe5\x93\x94\xe5\x93\xa9\xe5\x93\x94\xe5\x93\xa9\xe7\x9b\xb4\xe6\x92\xad\xe5\xa7\xac Bilibili.Livehime 4.35.0.4347 Moniker:' 80 🟡 package 哔哩哔哩 Bili failed parsing, going for method 2... b'\xe5\x93\x94\xe5\x93\xa9\xe5\x93\x94\xe5\x93\xa9 Bilibili.Bilibili 1.8.2 Moniker:' 80 🟡 package 百度开发者工具 Baidu.S failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 Baidu.SwanIDE 3.53.2 Moniker:' 80 🟡 package 百度文库 Baid failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe6\x96\x87\xe5\xba\x93 Baidu.BaiduWenku 1.1.4 Moniker:' 80 🟡 package 百度翻译 Baid failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe7\xbf\xbb\xe8\xaf\x91 Baidu.BaiduTranslate 1.5.4 Moniker:' 80 🟡 package 百度AI同传会议版 Baidu.B failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6AI\xe5\x90\x8c\xe4\xbc\xa0\xe4\xbc\x9a\xe8\xae\xae\xe7\x89\x88 Baidu.BaiduSIMeeting 2.0.1 Moniker:' 80 🟡 package 百度AI同传助手 Baidu. failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6AI\xe5\x90\x8c\xe4\xbc\xa0\xe5\x8a\xa9\xe6\x89\x8b Baidu.BaiduSIAssistant 1.2.0 Moniker:' 80 🟡 package 百度输入法 Baidu failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 Baidu.BaiduPinyin 5.8.8.25 Moniker:' 80 🟡 package 百度网盘 Baid failed parsing, going for method 2... b'\xe7\x99\xbe\xe5\xba\xa6\xe7\xbd\x91\xe7\x9b\x98 Baidu.BaiduNetdisk 7.23.0 Moniker:' 80 🟡 package 匿名Player++ ar failed parsing, going for method 2... b'\xe5\x8c\xbf\xe5\x90\x8dPlayer++ arrow2nd.tokumei-player-pp 1.8.4 Moniker:' 80 🟡 package 滴答清单 Appe failed parsing, going for method 2... b'\xe6\xbb\xb4\xe7\xad\x94\xe6\xb8\x85\xe5\x8d\x95 Appest.Dida 4.3.5.1 Moniker:' 80 🟡 package 语雀 Al failed parsing, going for method 2... b'\xe8\xaf\xad\xe9\x9b\x80 Alibaba.Yuque 2.2.5 Moniker:' 80 🟡 package 小程序开发者工具 Alibaba. failed parsing, going for method 2... b'\xe5\xb0\x8f\xe7\xa8\x8b\xe5\xba\x8f\xe5\xbc\x80\xe5\x8f\x91\xe8\x80\x85\xe5\xb7\xa5\xe5\x85\xb7 Alibaba.MiniProgramStudio 3.1.3 Moniker:' 80 🟡 package 支付宝开放平台密钥工具 Alibaba.Ali failed parsing, going for method 2... b'\xe6\x94\xaf\xe4\xbb\x98\xe5\xae\x9d\xe5\xbc\x80\xe6\x94\xbe\xe5\xb9\xb3\xe5\x8f\xb0\xe5\xaf\x86\xe9\x92\xa5\xe5\xb7\xa5\xe5\x85\xb7 Alibaba.AlipayKeyTool 2.0.3 Moniker:' 80 🟡 package 阿里云盘 Alib failed parsing, going for method 2... b'\xe9\x98\xbf\xe9\x87\x8c\xe4\xba\x91\xe7\x9b\x98 Alibaba.aDrive 3.16.0 Moniker:' 80 🟡 package AcFun面捕助手 AcFu failed parsing, going for method 2... b'AcFun\xe9\x9d\xa2\xe6\x8d\x95\xe5\x8a\xa9\xe6\x89\x8b AcFun.AcFunVirtualTool 1.32.0.1772 Moniker:' 80 🟡 package 手心输入法 360.P failed parsing, going for method 2... b'\xe6\x89\x8b\xe5\xbf\x83\xe8\xbe\x93\xe5\x85\xa5\xe6\xb3\x95 360.PalmInput 3.1.0.1010 Moniker:' 80 🟡 package 360安全浏览器 360.3 failed parsing, going for method 2... b'360\xe5\xae\x89\xe5\x85\xa8\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 360.360SE 13.1.6350.0 Moniker:' 80 🟡 package 360游戏浏览器 360.3 failed parsing, going for method 2... b'360\xe6\xb8\xb8\xe6\x88\x8f\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 360.360GT 13.6.1047.0 Moniker:' 80 🟡 package 360清理大师 360. failed parsing, going for method 2... b'360\xe6\xb8\x85\xe7\x90\x86\xe5\xa4\xa7\xe5\xb8\x88 360.360CleanMaster 1.0.0.1020 Moniker:' 80 🟡 package 115浏览器 115 failed parsing, going for method 2... b'115\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 115.115Chrome 25.0.4.1 Moniker:' 80 🟡 package 嘉立创EDA JLC failed parsing, going for method 2... b'\xe5\x98\x89\xe7\xab\x8b\xe5\x88\x9bEDA JLC.LCEDA 6.5.22 Moniker:' 80 🟡 package 希沃白板 5 Seew failed parsing, going for method 2... b'\xe5\xb8\x8c\xe6\xb2\x83\xe7\x99\xbd\xe6\x9d\xbf 5 Seewo.EasiNote 5.2.2.7522 Moniker:' 80 🟡 package 夸克网盘 Alib failed parsing, going for method 2... b'\xe5\xa4\xb8\xe5\x85\x8b\xe7\xbd\x91\xe7\x9b\x98 Alibaba.QuarkCloudDrive 2.5.1 Moniker:' 80 🟡 package 完美世界竞技平台 PerfectW failed parsing, going for method 2... b'\xe5\xae\x8c\xe7\xbe\x8e\xe4\xb8\x96\xe7\x95\x8c\xe7\xab\x9e\xe6\x8a\x80\xe5\xb9\xb3\xe5\x8f\xb0 PerfectWorld.PerfectWorldArena 1.0.22122211 Moniker:' 80 🟡 package 稿定设计 Gaod failed parsing, going for method 2... b'\xe7\xa8\xbf\xe5\xae\x9a\xe8\xae\xbe\xe8\xae\xa1 Gaoding.Gaoding 1.3.10 Moniker:' 80 🟡 package 有道云笔记 Youda failed parsing, going for method 2... b'\xe6\x9c\x89\xe9\x81\x93\xe4\xba\x91\xe7\xac\x94\xe8\xae\xb0 Youdao.YoudaoNote 6.10' 80 🟡 package 网易有道词典 Youdao failed parsing, going for method 2... b'\xe7\xbd\x91\xe6\x98\x93\xe6\x9c\x89\xe9\x81\x93\xe8\xaf\x8d\xe5\x85\xb8 Youdao.YoudaoDict 9.1.5.0' 80 🟡 package 날개셋 한글 입력기 YmSoft.N failed parsing, going for method 2... b'\xeb\x82\xa0\xea\xb0\x9c\xec\x85\x8b \xed\x95\x9c\xea\xb8\x80 \xec\x9e\x85\xeb\xa0\xa5\xea\xb8\xb0 YmSoft.Nalgaeset 10.40.83' 80 🟡 package 유니콘 HTTPS Uni failed parsing, going for method 2... b'\xec\x9c\xa0\xeb\x8b\x88\xec\xbd\x98 HTTPS UnicornSoft.UnicornHTTPS 1.2.69.98' 80 🟡 package 应用宝 Ten failed parsing, going for method 2... b'\xe5\xba\x94\xe7\x94\xa8\xe5\xae\x9d Tencent.YingYongBao 5.8.3' 80 🟡 package 企业微信 Tenc failed parsing, going for method 2... b'\xe4\xbc\x81\xe4\xb8\x9a\xe5\xbe\xae\xe4\xbf\xa1 Tencent.wechat-work 4.0.19.6020' 80 🟡 package 네이트온 SKCo failed parsing, going for method 2... b'\xeb\x84\xa4\xec\x9d\xb4\xed\x8a\xb8\xec\x98\xa8 SKCommunications.NateOn 7.0.15.0' 80 🟡 package 石墨文档 shim failed parsing, going for method 2... b'\xe7\x9f\xb3\xe5\xa2\xa8\xe6\x96\x87\xe6\xa1\xa3 shimo.shimo 2.5.4' 80 🟡 package 小黑盒加速器 Qingfe failed parsing, going for method 2... b'\xe5\xb0\x8f\xe9\xbb\x91\xe7\x9b\x92\xe5\x8a\xa0\xe9\x80\x9f\xe5\x99\xa8 Qingfeng.HeyboxAccelerator 1.1.21' 80 🟡 package 第五人格 NetE failed parsing, going for method 2... b'\xe7\xac\xac\xe4\xba\x94\xe4\xba\xba\xe6\xa0\xbc NetEase.IdentityV.CN 1.0.0.1' 80 🟡 package 即时设计 Dieg failed parsing, going for method 2... b'\xe5\x8d\xb3\xe6\x97\xb6\xe8\xae\xbe\xe8\xae\xa1 DiegoFernandes.jsdesign 1.0.2' 80 🟡 package 阿里旺旺 Alib failed parsing, going for method 2... b'\xe9\x98\xbf\xe9\x87\x8c\xe6\x97\xba\xe6\x97\xba Alibaba.AliIM 10.01.02C' 80 🟡 package 360 极速浏览器X 360.3 failed parsing, going for method 2... b'360 \xe6\x9e\x81\xe9\x80\x9f\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8X 360.360Chrome.X 21.0.1171.0' 80 🟡 package 360极速浏览器 360.3 failed parsing, going for method 2... b'360\xe6\x9e\x81\xe9\x80\x9f\xe6\xb5\x8f\xe8\xa7\x88\xe5\x99\xa8 360.360Chrome 13.5.2036.0' 80 🟡 package 115电脑版 115 failed parsing, going for method 2... b'115\xe7\x94\xb5\xe8\x84\x91\xe7\x89\x88 115.115 2.0.2.9' 80 🟡 package 不咕剪辑 Vers failed parsing, going for method 2... b'\xe4\xb8\x8d\xe5\x92\x95\xe5\x89\xaa\xe8\xbe\x91 Versa.MagiCut 1.2.0' 80 🟡 package 千牛工作台 Aliba failed parsing, going for method 2... b'\xe5\x8d\x83\xe7\x89\x9b\xe5\xb7\xa5\xe4\xbd\x9c\xe5\x8f\xb0 Alibaba.AliWorkbench 9.12.00N' 80 🟢 Winget search finished 🟢 Searching for string "" 🟢 Scoop search finished 🟢 Searching for string "" 🟢 Searching for string "" 🟢 Total packages: 2 🟢 Scoop search finished 🟢 Searching for string "" 🟢 Searching for string "" 🟢 Total packages: 7260 🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement 🔵 Image URL: https://www.somepythonthings.tk/resources/christmas.png 🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement 🔵 Image URL: https://www.somepythonthings.tk/resources/christmas.png 🔵 Announcement URL: https://www.marticliment.com/resources/wingetui.announcement 🔵 Image URL: https://www.somepythonthings.tk/resources/christmas.png 🔵 Copying log to the clipboard... ```

Additional info:

I don't know if it is an importan detail, but both systems I tested had only one language installed. My Windows 11 is in English and My Windows 10 is Portuguese

Also, I am able to change the language using version 1.5.1

aaronliu0130 commented 1 year ago

I just installed 1.5.2 and I confirm to have the same problem.

Also, activation doesn't matter at all for program behavior

marticliment commented 1 year ago

I have been able to reproduce the issue. I'll fix this asap

marticliment commented 1 year ago

This issue has been fixed. An update will come out soon

marticliment commented 1 year ago

Hi

Please update: https://github.com/marticliment/WingetUI/releases/download/1.5.3/WingetUI.Installer.exe

ppvnf commented 1 year ago

It's working! Thanks so much!

ghost commented 11 months ago

I'm facing the same problem. My region in Windows is set to Greek (Greece), but as the display language I have ENG (USA) . The program defaults to Greek even though I change it to the system language (ENG (USA)) option.

Windows Version: 22H2 19045.3693 Windows Feature Experience Pack 1000.19053.1000.0 Software Version: 2.1.2

Note: I haven't checked with the latest beta though. Will do through out the day.

marticliment commented 11 months ago

hello, this is an old issue and is probably caused by another thing, the beta linked here is very old. I will investigate this and let you know.

marticliment commented 11 months ago

Could you please share the log in these two scenarios:

Also, there is a file named "PreferredLanguage" under C:\Users\.wingetui. Please attach it here also

ghost commented 11 months ago

Found a fix: I picked EN and not System Language and it persisted.

Windows Display Language: ENG (US) Windows Country Region: USA Regional Format: Greek (Greece)

When installed the software default to Greek (Greece).

When I change the language from Greek (Greece) to System Language and press restart the software closes and does not start automatically. When started manually the language defaults to Greek (Greece) again. So, nothing shows on the logs (I don't know if they are saved somewhere).

🟡 Using bundled lang file (forced=True)
🔵 It took 0.002000570297241211 to load all language files
🟢 checkQueue Thread started!
🔵 Found default chocolatey installation on expected location
🔵 Language file up-to-date
🔵 Starting main application...
🔵 Looking for alive instances...
🟡 Found lock file(s), reactivating...
🔵 Reloading Winget sources...
🔵 Loading WingetUI AUMID...
 * Serving Flask app 'WingetUI backend'
 * Debug mode: off
🔵 Starting update check
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on http://localhost:7058
Press CTRL+C to quit
🔵 Version URL: https://www.marticliment.com/versions/wingetui.ver
🟢 Updates not found
🟢 Downloaded latest metadata to local file from url https://raw.githubusercontent.com/marticliment/WingetUI/main/WebBasedData/screenshot-database-v2.json
🔵 Loaded metadata from local file
🟢 Found valid aumid {6D809377-6AF0-444B-8957-A3773F02200E}\WingetUI\wingetui.exe
🔵 Reactivation signal ignored: RaiseWindow_[1702458632.561714]
{'sudoFound': True, 'sudoVersion': 'gsudo v2.0.4 (Branch.tags-v2.0.4.Sha.506efa024af0cef6e4b0cfec42e0c8c5d0b1472c)\r', 'ScoopFound': False, 'ScoopVersion': 'Το Scoop είναι απενεργοποιημένο', 'PipFound': False, 'PipVersion': 'Το Pip είναι απενεργοποιημένο', 'NpmFound': False, 'NpmVersion': 'Το Npm είναι απενεργοποιημένο', '.NET ToolFound': False, '.NET ToolVersion': 'Το .NET Tool είναι απενεργοποιημένο', 'WingetFound': True, 'WingetVersion': '', 'ChocolateyFound': True, 'ChocolateyVersion': '2.2.2  '}
🔵 Reached main ui load milestone
🟢 Discover tab loaded successfully
🟢 Total packages: 0
🟢 Update tab loaded successfully
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Searching for string ""
🔵 Reloading sources...
🔵 Reloading Winget sources...
🟢 Uninstall tab loaded successfully
🔵 Starting Winget search for installed packages
🔵 Starting Chocolatey search for installed packages
🟢 Searching for string ""
🟢 Starting winget source search...
🟢 Starting winget source search...
🟢 Settings tab loaded!
🟢 winget source search finished
🟢 winget source search finished
🔵 Reloading Scoop sources...
🔵 Reloading Scoop sources...
🟢 About tab loaded!
🔵 Starting Winget search for updates
Win32Mica Error: win32 version 19045 is not supported
🔵 Starting Chocolatey search for updates
🟢 Chocolatey search for installed packages finished with 0 result(s)
🟠 Chocolatey got too few installed packages, retrying
🔵 Starting Chocolatey search for installed packages
Win32Mica Error: win32 version 19045 is not supported
🟢 Main application loaded...
🟢 Chocolatey search for installed packages finished with 1 result(s)
🟢 Searching for string ""
🟢 Chocolatey search for updates finished with 0 result(s)
🟢 Searching for string ""
🟢 Winget search for installed packages finished with 102 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 103
🔵 Loading WingetUI log...
🟢 Winget search for updates finished with 1 result(s)
🟢 Searching for string ""
🟢 Searching for string ""
🟢 Total packages: 1
🔵 Copying log to the clipboard...
🔵 Loading WingetUI log...

PreferredLanguage.txt

marticliment commented 11 months ago

I am afraid WingetUI is checking for the user's locale in order to select the default language, instead of selecting the user's language.

I will need to change that