Open maisondasilva opened 11 months ago
It's a workaround, but you can pass "--locale" to get a specific locale when upgrading a single package.
We don't have a reliable way to parse the locale from the "Name"/"displayName".
It's a workaround, but you can pass "--locale" to get a specific locale when upgrading a single package.
We don't have a reliable way to parse the locale from the "Name"/"displayName".
Thanks for the update, the command would look like this right?
winget upgrade --all --locale pt-BR
That might not have the desired affect because not all packages have that locale so it might not install upgrades for things that don't offer the specified locale.
Maybe running that followed by running it without the locale would update the rest.
I was suggesting winget upgrade Mozilla.Firefox --locale pt-BR
@denelon Would it be a solution for me to run the command winget upgrade --all --locale pt-BR
and then winget upgrade --all
?
Because for example WinRAR updates with the Portuguese Brazilian version, the problem is that I know which program will update with the language correctly and which ones won't.
If I use the command winget upgrade --all --locale pt-BR
and the application does not support the locale, will it not update?
Thanks for the time!
Thanks Maison
I don't remember if the CLI argument is a "prefer" logic or a "require" logic. I'll ask @JohnMcPMS...
@denelon I tried updating using winget upgrade --all --locale pt-BR
,but it doesn't install if I use winget upgrade --all it will install the English version again
Is there any way to fix this and have winget install the version in my language?
Brief description of your issue
Winget updated my Mozilla Firefox and instead of downloading the Portuguese version, it downloaded the English version
Steps to reproduce
Expected behavior
Mozilla Firefox pt-BR
Actual behavior
Mozilla Firefox en-US
Environment