microsoft / microsoft/winget-pkgs

[Package Issue]: Microsoft.Office - Gets updated to wrong locale

Open
#247,112 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Needs-Triage
Dominant language
No language data
Stars
11.1k
Forks
9.7k
Avg merge
1h 32m
Merged PRs (30d)
376

Description

Please confirm these before moving forward
  • I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
  • I have not been informed if the issue is resolved in a preview version of the winget client.
Category of the issue

Side-By-Side installation.

Brief description of your issue

I have "Microsoft 365 Apps for Enterprise - de-de" installed and when I update with Winget, it installs "Microsoft 365 Apps enterprise - en-us" side-by-side with the German version.

Steps to reproduce

winget upgrade --id=Microsoft.Office -e

Actual behavior

Installs a 2nd Office365 in a different locale:
winget list microsoft.office
Microsoft 365 Apps for enterprise - en-us Microsoft.Office 16.0.18526.20264 16.0.18623.20156 winget
Microsoft 365 Apps for Enterprise - de-de Microsoft.Office 16.0.18526.20264 winget
OfficePushNotificationsUtility MSIX\Microsoft.OfficePushNotificationU… 16.0.18526.20264

Expected behavior

Should just update the already installed German Office365

Environment
Windows-Paket-Manager v1.10.340
Windows: Windows.Desktop v10.0.26100.3476
Systemarchitektur: X64
Paket: Microsoft.DesktopAppInstaller v1.25.340.0

Microsoft 365 Apps for Enterprise de-de, v16.0.18526.20264
Screenshots and Logs

Don't know where to put some more info on this matter, so I'll post it in this section:

The weird thing too is that it installs the US Office in the same version as the German is: 16.0.18526.20264
But winget upgrade tells me that there is an update to version 16.0.18623.20156 available.
So, both are outdated...

Secondly, when I try to set the locale, Winget cannot find an applicable update:
winget upgrade --id=Microsoft.Office -e --locale de-de
Es wurde kein anwendbares Upgrade gefunden.
(No applicable upgrade was found)

In einer konfigurierten Quelle ist eine neuere Paketversion verfügbar, die jedoch nicht auf Ihr System oder Ihre Anforderungen zutrifft.
(A newer package version is available in a configured source, but it does not apply to your system or requirements.)

Thirdly, here are my locale settings:
Get-WinUserLanguageList
LanguageTag : de-DE
Autonym : Deutsch (Deutschland)
EnglishName : German
LocalizedName : Deutsch (Deutschland)
ScriptName : Lateinisch
InputMethodTips : {0407:00010407}
Spellchecking : True
Handwriting : False

Get-WinSystemLocale
LCID Name DisplayName
1031 de-DE Deutsch (Deutschland)

Get-WinHomeLocation
GeoId HomeLocation
14 Österreich

Last but not least, here are the logs:

WinGet-2025-04-10-09-09-20.135.log
WinGet-2025-04-10-09-16-04.281.log
WinGet-2025-04-10-09-16-54.057.log

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

Start by reproducing winget upgrade --id=Microsoft.Office -e with the reported German Office installation and review the three attached WinGet logs. Compare the package selection and locale handling with --locale de-de; done means the existing German installation is upgraded without installing the en-us package side-by-side.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.