-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wsl.exe Wrong Default Display Langauge #9242
Comments
Could you try |
I have a similar problem, although it goes to Dutch. My display language is English:
I don't even have Dutch installed. E: Managed to fix it. In Windows settings, change the "Apps & Websites" language to English (United States). |
Had a similar issue, where WSL display language was in Czech. In language settings: Solution: Hope it is helpful for others dealing with similar issue. |
Can confirm your solution works! |
Still, it's a problem that should be clarified - is the Romanian language package filled with Czech localization strings, or is there a bug in wsl? |
@dorinlazar In my case there was nothing to do with Romanian language. I myself suspect WSL, but being not familiar in detail, how languages and locales work, can't really confirm my suspicions. |
Bug in WSL |
I have the same issue, locale is Slovenian, until a few days ago WSL was in English, then from today on it is in Czech language. Although this happened to me already about a year ago but then fixed itself. |
My solution only downloads and install English (US) language packs. |
My Windows is set to English and there is no language pack installed:
|
It's been almost a year and it's still broken. @benhillis Can we expect a solution anytime soon? |
Same problem here since the upgrade from WSL 1.2.5.0 to 2.0.7.0 My Windows 11 is setup to use English for the Language and French for the Region.
It looks like that sometime WSL.EXE uses the Region, and sometime it uses the Language. For some options WLS.EXE displays result in French (my Windows Region):
For other options it displays result in English (my Windows Language):
And sometime it is a mix of French and English
NOTES: the solution from Sedemicra doesn't work for me. Here my Windows setup that was working before the upgrade from WSL 1.2.5.0 to 2.0.7.0 But this is not the real problemWSL is not a tool for general public, it is only used by developers. Example: This bash statement works only in English but not in French, Spanish, Greek, Japanese etc... English:
French:
Regards |
Single command - two languages. It's a widespread problem across Microsoft products where Culture and UI Culture are mixed. Region/Regional format/Location should never affect the language. Either Windows display language or the first one on preferred language list should be used (these are both en-US for me). |
Why on earth is my WSL German? I installed Windows in English (United States). @benhillis, you commented over a year ago without any follow-up. Please, look at it. |
After some experimentation, it is clear that the language WSL uses for localization is taken from the "reginal format" setting, as several people have pointed out above, which is 100% a bug. People can and do use other contries formats without knowing the language, and not being able to even read the help without changing system settings to something inconvenient is awful. Please fix. |
I don't think it is taken from regional. mdragosv has regional set to Romanian and his wsl was in Czech. Same for me, regional set to Slovenian, wsl in Czech... |
Can confirm that wsl.exe 2.0.14 is switching its display language when you change the Windows Region and Regional Format. What part of "Windows Display Language = English (US)" does wsl.exe not understand??? Does it need more AI or maybe just more common sense? |
Can this please be labeled as a bug? |
Same here on Windows 10. Please, know, that advanced users and especially developers and administrators usually never want a translated version. |
I disagree. If applications are translated, they should come in the language the user expects. You're using a generalisation to express your personal opinion. That does not help the quality of the application and only shifts the issue to a different group of people - namely the ones who want localised apps. If you want your system and apps to be in English, then you can do that via the system language settings. The problem here is that the application does not follow the system language, but rather the region. These are two different settings. A user can be located in Germany, Poland, France or any other place in the world and would prefer to see content from that region. This is why you can set the region in Windows to wherever you are at the moment. All the while you can still have your system language in the language you are comfortable with. And then there are date, time and number formats, which can also be configured independent of region and language. And applications should follow system language. It's that simple. I'm frankly tired of seeing these issues in Microsoft applications, as these settings have been in Windows for at least 20 years and I'm shocked that Microsoft developers still don't grasp this concept. |
https://github.com/microsoft/WSL/releases/tag/2.1.3
|
Yes, that is the bug here and must be fixed. Furthermore there are not only the region and the display language but also the input method (keyboard layout) and the formatting options for currency, date and so on as well as the time zone. All of these settings must be changeable completely independently and must be respected by every application.
Sure, that is one way. When it comes to personal opinion, I can add the following: |
That sounds promising. Thank you! |
Solved with 2.1.3 |
Version
Microsoft Windows [Version 10.0.22621.900]
WSL Version
Kernel Version
No response
Distro Version
No response
Other Software
No response
Repro Steps
Install Windows 11 with the romanian language pack, maybe other languages affected.
Run wsl --install
Do wsl --help the help language wont be in english as expected
Expected Behavior
Default to english
Actual Behavior
PS C:\Users\marin> wsl -v

Verze WSL: 1.0.0.0
Verze jádra: 5.15.74.2
Verze WSLg: 1.0.47
Verze MSRDC: 1.2.3575
Verze Direct3D: 1.606.4
Verze DXCore: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
verze Windows: 10.0.22621.900
PS C:\Users\marin>
Diagnostic Logs
No response
Solution
#9242 (comment)
The text was updated successfully, but these errors were encountered: