[PR #10434] Fix crash when unpackaged due to PrimaryLanguageOverride #28050

Open
opened 2026-01-31 09:25:59 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/10434

State: closed
Merged: Yes


Summary of the Pull Request

ApplicationLanguages::PrimaryLanguageOverride requires packaged activation.
This PR prevents any such application crashes, by skipping any calls to PrimaryLanguageOverride, as well as hiding the language selector in the settings UI.

PR Checklist

  • I work here
  • Tests added/passed
  • Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated.

Validation Steps Performed

When WT is run unpackaged:

  • Doesn't crash during start ✔️
  • SUI doesn't show the language selector ✔️
**Original Pull Request:** https://github.com/microsoft/terminal/pull/10434 **State:** closed **Merged:** Yes --- ## Summary of the Pull Request `ApplicationLanguages::PrimaryLanguageOverride` requires packaged activation. This PR prevents any such application crashes, by skipping any calls to `PrimaryLanguageOverride`, as well as hiding the language selector in the settings UI. ## PR Checklist * [x] I work here * [x] Tests added/passed * [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx * [ ] Schema updated. ## Validation Steps Performed When WT is run unpackaged: * Doesn't crash during start ✔️ * SUI doesn't show the language selector ✔️
claunia added the pull-request label 2026-01-31 09:25:59 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28050