Global "language" setting has no effect in Portable mode #22672

Closed
opened 2026-01-31 08:20:10 +00:00 by claunia · 3 comments
Owner

Originally created by @denis-komarov on GitHub (Dec 17, 2024).

Windows Terminal version

1.21.3231.0

Windows build number

10.0.19045

Other Software

No response

Steps to reproduce

Install unpackaged "ZIP" distribution in Portable mode.

Add line to portable settings.json :
"language": "en-US",

Start WT.

Expected Behavior

UI language has changed to "en-US"

Actual Behavior

UI language remains the system default

Originally created by @denis-komarov on GitHub (Dec 17, 2024). ### Windows Terminal version 1.21.3231.0 ### Windows build number 10.0.19045 ### Other Software _No response_ ### Steps to reproduce Install unpackaged "ZIP" distribution in Portable mode. Add line to portable settings.json : "language": "en-US", Start WT. ### Expected Behavior UI language has changed to "en-US" ### Actual Behavior UI language remains the system default
claunia added the Needs-TriageIssue-BugIn-PR labels 2026-01-31 08:20:11 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Jan 8, 2025):

Thanks for filing! Unfortunately, this is a Windows platform limitation. Sorry.

We should probably update https://learn.microsoft.com/en-us/windows/terminal/distributions#distribution-feature-comparison to reflect that.

@carlos-zamora commented on GitHub (Jan 8, 2025): Thanks for filing! Unfortunately, this is a Windows platform limitation. Sorry. We should probably update https://learn.microsoft.com/en-us/windows/terminal/distributions#distribution-feature-comparison to reflect that.
Author
Owner

@sylveon commented on GitHub (Mar 12, 2025):

Actually - this can be worked around:

winrt::Windows::ApplicationModel::Resources::Core::ResourceContext::SetGlobalQualifierValue(L"Language", "zh-CN");

This will override the language of an app to be Chinese for the current process.

@sylveon commented on GitHub (Mar 12, 2025): Actually - this can be worked around: ```cpp winrt::Windows::ApplicationModel::Resources::Core::ResourceContext::SetGlobalQualifierValue(L"Language", "zh-CN"); ``` This will override the language of an app to be Chinese for the current process.
Author
Owner

@DHowett commented on GitHub (Mar 12, 2025):

WHAT

@DHowett commented on GitHub (Mar 12, 2025): WHAT
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22672