Terminal UI appears in German when using English UK as default #12996

Closed
opened 2026-01-31 03:30:59 +00:00 by claunia · 5 comments
Owner

Originally created by @garetho-starwind on GitHub (Mar 12, 2021).

Environment

Windows build number: Win32NT             10.0.19042.0 Microsoft Windows NT 10.0.19042.0
Windows Terminal version (if applicable): 1.6.10571.0

Any other software?

Steps to reproduce

In the Windows "Preferred Languages" settings.
Set "English (United Kingdom)" as first option
Set "German (Germany)" as the second option

Launch Windows Terminal

Expected behavior

Expected behaviour would be that all tool tips and messages would be in English
image

Actual behavior

All of the Tool tips and messages are actually appearing in German
image

NOTE: If you put "English (United States)" above "German (Germany)" in the Preferred languages then the tool tips and messages are as expected, so looks like just an issue with ignoring the "English (United Kingdom)" preference

Originally created by @garetho-starwind on GitHub (Mar 12, 2021). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Win32NT 10.0.19042.0 Microsoft Windows NT 10.0.19042.0 Windows Terminal version (if applicable): 1.6.10571.0 Any other software? ``` # Steps to reproduce <!-- A description of how to trigger this bug. --> In the Windows "Preferred Languages" settings. Set "English (United Kingdom)" as first option Set "German (Germany)" as the second option Launch Windows Terminal # Expected behavior Expected behaviour would be that all tool tips and messages would be in English ![image](https://user-images.githubusercontent.com/80518381/110929244-ab886680-831f-11eb-815a-0b1293202c14.png) # Actual behavior All of the Tool tips and messages are actually appearing in German ![image](https://user-images.githubusercontent.com/80518381/110929336-c5c24480-831f-11eb-8af1-f1e619ab2185.png) NOTE: If you put "English (United States)" above "German (Germany)" in the Preferred languages then the tool tips and messages are as expected, so looks like just an issue with ignoring the "English (United Kingdom)" preference
claunia added the Resolution-DuplicateProduct-TerminalArea-Localization labels 2026-01-31 03:30:59 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 12, 2021):

NOTE: If you put "English (United States)" above "German (Germany)" in the Preferred languages then the tool tips and messages are as expected, so looks like just an issue with ignoring the "English (United Kingdom)" preference

Huh. I was gonna say that this sounds like a duplicate of #5497 (or at least, what that issue is tracking), but that's weird.

@DHowett you're the loc expert - any idea why UK English doesn't work but US English does?

@zadjii-msft commented on GitHub (Mar 12, 2021): > NOTE: If you put "English (United States)" above "German (Germany)" in the Preferred languages then the tool tips and messages are as expected, so looks like just an issue with ignoring the "English (United Kingdom)" preference Huh. I was gonna say that this sounds like a duplicate of #5497 (or at least, what that issue is tracking), but that's weird. @DHowett you're the loc expert - any idea why UK English doesn't work but US English does?
Author
Owner

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

This is a weird and specific issue with language fallback that I don't totally understand.

The resource loader takes a set intersection of the user's preferred languages and the application's supported languages. When it does that, it is very specific and will only choose languages with a matching country code.

Here's what it looks like:

User Language List          Terminal Language
------------------          -----------------
English (UK) - en_GB        
German (Germany) - de_DE    de_DE
English (US) - en_US        en_US

There's no automatic fallback from en_GB to en_US. I also don't know if it would fall back from en_GB to just en. :|

@DHowett commented on GitHub (Mar 12, 2021): This is a weird and specific issue with language fallback that I don't totally understand. The resource loader takes a set intersection of the user's preferred languages and the application's supported languages. When it does that, it is **very** specific and will only choose languages with a matching country code. Here's what it looks like: ``` User Language List Terminal Language ------------------ ----------------- English (UK) - en_GB German (Germany) - de_DE de_DE English (US) - en_US en_US ``` There's no automatic fallback from en_GB to en_US. I also don't know if it would fall back from en_GB to just `en`. :|
Author
Owner

@j4james commented on GitHub (Mar 12, 2021):

FYI, the problem of regional English variants not falling back to US English has been brought up several times before. For example, see #6943 and #6931. And there was at least one example of it in https://github.com/microsoft/terminal/issues/5497#issuecomment-628913822. I thought it was accepted that this was just the way Windows works.

@j4james commented on GitHub (Mar 12, 2021): FYI, the problem of regional English variants not falling back to US English has been brought up several times before. For example, see #6943 and #6931. And there was at least one example of it in https://github.com/microsoft/terminal/issues/5497#issuecomment-628913822. I thought it was accepted that this was just the way Windows works.
Author
Owner

@zadjii-msft commented on GitHub (Mar 15, 2021):

Alright well that answers my question. For the rest, I'll just direct this to the bucket we've been throwing this in previously

/dup #5497

Thanks everyone!

@zadjii-msft commented on GitHub (Mar 15, 2021): Alright well that answers my question. For the rest, I'll just direct this to the bucket we've been throwing this in previously /dup #5497 Thanks everyone!
Author
Owner

@ghost commented on GitHub (Mar 15, 2021):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Mar 15, 2021): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#12996