Terminal might use i18n strings from multiple languages, if the preferred lang is not one WT is fully localized into #20135

Open
opened 2026-01-31 07:04:42 +00:00 by claunia · 6 comments
Owner

Originally created by @mataha on GitHub (Jun 23, 2023).


Important

📌 Plan of record: https://github.com/microsoft/terminal/issues/15596#issuecomment-1612163250
We should try to avoid using resources from languages we're only partially localized into (if that's even possible)


Windows Terminal version

1.17.11461.0

Windows build number

10.0.19045.3086

Other Software

N/A

Steps to reproduce

Open Windows Terminal. That's it.

System languages installed (in order of preference):

  • Polish (display)
  • Japanese
  • Korean
  • Russian

Expected Behavior

Windows Terminal opens in my preferred system language (Polish), falling back to English (as it is the de facto lingua franca) if that's not possible.

Actual Behavior

I'd like to provide more details, but I can't stop laughing.

image

Originally created by @mataha on GitHub (Jun 23, 2023). <hr> > [!IMPORTANT] > 📌 Plan of record: **https://github.com/microsoft/terminal/issues/15596#issuecomment-1612163250** > We should try to avoid using resources from languages we're only partially localized into (if that's even possible) <hr> ### Windows Terminal version 1.17.11461.0 ### Windows build number 10.0.19045.3086 ### Other Software N/A ### Steps to reproduce Open Windows Terminal. That's it. System languages installed (in order of preference): - Polish (display) - Japanese - Korean - Russian ### Expected Behavior Windows Terminal opens in my preferred system language (Polish), falling back to English (as it is the *de facto* lingua franca) if that's not possible. ### Actual Behavior I'd like to provide more details, but I can't stop laughing. ![image](https://github.com/microsoft/terminal/assets/7210216/3f8c6d05-0b96-40e9-8c2a-9e4f5ec1a063)
claunia added the Issue-BugNeeds-Tag-FixProduct-TerminalArea-i18n labels 2026-01-31 07:04:42 +00:00
Author
Owner

@lhecker commented on GitHub (Jun 26, 2023):

I honestly don't even know how to begin working on this. 😄
We don't really control this - we just tell WinUI our set of localized strings and it picks the right one based on language preference. It seems to usually work, given that this is (unless I'm mistaken) the first time we've seen such a bug report. I also can't find anything like that over at https://github.com/microsoft/microsoft-ui-xaml.

@lhecker commented on GitHub (Jun 26, 2023): I honestly don't even know how to begin working on this. 😄 We don't really control this - we just tell WinUI our set of localized strings and it picks the right one based on language preference. It seems to usually work, given that this is (unless I'm mistaken) the first time we've seen such a bug report. I also can't find anything like that over at https://github.com/microsoft/microsoft-ui-xaml.
Author
Owner

@DHowett commented on GitHub (Jun 26, 2023):

LOL. Thanks for filing! I think I know how to approach this one.

If your list of preferred languages is:

  • Polish (display)
  • Japanese
  • Korean
  • Russian

We are not going to choose English under those circumstances. English is not one of your preferred languages!

For a quick fix, you can override the display language of Windows Terminal's UI with a setting on the Appearance page. 😄

The main issue is that Terminal isn't localized in Polish... but some of its components are, Ugh.

The secondary issue is that MRT (the modern resource "thing" (not its official name)) doesn't do whole-application language selection; it actually does per-resource language selection.

The tertiary issue is that we do mark our package as supporting Polish, for this darn thing:

image

(That menu item gets localized into 88 languages, where the rest of Terminal only gets 13. Yeah. Not great.)

I'd like to provide more details, but I can't stop laughing.

(Do you mind if I share this with the i18n team? They'll get a kick out of it :D)

@DHowett commented on GitHub (Jun 26, 2023): LOL. Thanks for filing! I think I know how to approach this one. If your list of preferred languages is: > - Polish (display) > - Japanese > - Korean > - Russian We are not going to choose English under those circumstances. English is not one of your preferred languages! For a quick fix, you can override the display language of Windows Terminal's UI with a setting on the Appearance page. :smile: The main issue is that Terminal isn't localized in Polish... but some of its components _are_, Ugh. The secondary issue is that MRT (the modern resource "thing" (not its official name)) doesn't do whole-application language selection; it actually does per-resource language selection. The _tertiary_ issue is that we do mark our package as supporting Polish, for this darn thing: <img width="184" alt="image" src="https://github.com/microsoft/terminal/assets/189190/fb2eeacc-3213-44a6-a1c7-93781d9f23f4"> (That menu item gets localized into 88 languages, where the rest of Terminal only gets 13. Yeah. Not great.) > I'd like to provide more details, but I can't stop laughing. (Do you mind if I share this with the i18n team? They'll get a kick out of it :D)
Author
Owner

@zadjii commented on GitHub (Jun 26, 2023):

This is a good sign that partial localizations work though, for #10667

@zadjii commented on GitHub (Jun 26, 2023): This is a good sign that partial localizations work though, for #10667
Author
Owner

@carlos-zamora commented on GitHub (Jun 28, 2023):

We should see if we can configure language fallback with MRT

@carlos-zamora commented on GitHub (Jun 28, 2023): We should see if we can configure language fallback with MRT
Author
Owner

@mataha commented on GitHub (Jul 1, 2023):

I honestly don't even know how to begin working on this. 😄 We don't really control this - we just tell WinUI our set of localized strings and it picks the right one based on language preference. It seems to usually work, given that this is (unless I'm mistaken) the first time we've seen such a bug report. I also can't find anything like that over at https://github.com/microsoft/microsoft-ui-xaml.

I don't think there are many users with three - or even two - preferred system languages. Even less that would file a bug report here.

The secondary issue is that MRT (the modern resource "thing" (not its official name)) doesn't do whole-application language selection; it actually does per-resource language selection.

That's what I thought - buttons are in Polish, most of the translated resources are in Japanese (with leftovers in Korean) and the rest is in English...

(Do you mind if I share this with the i18n team? They'll get a kick out of it :D)

Feel free to do so, by all means!

@mataha commented on GitHub (Jul 1, 2023): > I honestly don't even know how to begin working on this. 😄 We don't really control this - we just tell WinUI our set of localized strings and it picks the right one based on language preference. It seems to usually work, given that this is (unless I'm mistaken) the first time we've seen such a bug report. I also can't find anything like that over at https://github.com/microsoft/microsoft-ui-xaml. I don't think there are many users with three - or even two - preferred system languages. Even less that would file a bug report here. > The secondary issue is that MRT (the modern resource "thing" (not its official name)) doesn't do whole-application language selection; it actually does per-resource language selection. That's what I thought - buttons are in Polish, most of the translated resources are in Japanese (with leftovers in Korean) and the rest is in English... > (Do you mind if I share this with the i18n team? They'll get a kick out of it :D) Feel free to do so, by all means!
Author
Owner

@VectorBCO commented on GitHub (Nov 29, 2023):

i have a similar issue when terminal chose russian for some reason
https://github.com/microsoft/terminal/issues/16395

@VectorBCO commented on GitHub (Nov 29, 2023): i have a similar issue when terminal chose russian for some reason https://github.com/microsoft/terminal/issues/16395
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20135