WSL
WSL copied to clipboard
Command output is localized based on regional settings
- A brief description Command output is localized based on regional settings, not on location or system locale. For example, my current locale is EN-US, default language is set to EN-US, my Region is set to the US, although my time and date formats are Russian.
- Expected results Shell must either inherit system locale, or it must ask the user what locale and localization must be set during the setup process.
- Actual results (with terminal output if applicable) Shell seems to automatically set its localization settings based on time and date formats specified in system. For example, all messages output to stdout are currently displayed in Russian, when I am waiting them be in English.
- Your Windows build number 10.0.14393.105
- Steps / commands required to reproduce the error Run any system utility such as apt-get yum
- Strace of the failing command
- Required packages and commands to install
See our contributing instructions for assistance.
Here's the sample screen of command output for the apt-get command:

Looking up the %appdata%\Local\lxss\rootfs\var\log\apt\history.log shows that apt-get automatically installed Russian language pack without asking for confirmation:
Start-Date: 2016-09-06 11:49:14
Commandline: /usr/bin/apt install -y language-pack-ru
Install: language-pack-ru:amd64 (14.04+20160720), language-pack-ru-base:amd64 (14.04+20160720, automatic)
End-Date: 2016-09-06 11:49:29
Agreed. It should be an option during install. I've made this change and now you will be asked during install if you want to set your locale to the NT locale.
@benhillis Thanks, Ben!