79
16
After installing Bash in Windows 10 I noted that it is using Swedish in the linux applications. My Windows 10 installation is in English.
I have tried to reinstall bash after changing the default input language to english using
lxrun /uninstall /full
lxrun /install
But it is still using swedish texts in the linux apps, e.g. in nano.
So how can I force the Linux subsystem to install with english language?
Seems that a restart of the service is also required for the change to take effect: "sc stop lxssmanager" , "sc start lxssmanager". I got an error when running the update-locale cmd: "sudo: unable to resolve host ...". – User0 – 2016-08-03T05:58:23.430
3"WSL install will automatically detects the Ubuntu locale to match the locale of your Windows install" I'd rather say "misdetects." I got Finnish, I have all settings on English, except keyboard layout and date format. That's not really a Finnish locale in my book. – Sami Kuhmonen – 2016-08-03T09:28:25.797
I got the error
sudo: unable to resolve host
while trying to run that command. It worked when I ran it withoutsudo
. – sgtfrankieboy – 2016-08-03T10:36:36.363@sgtfrankieboy It won't persist without
– cat – 2016-08-03T14:08:09.527sudo
. See this question and its answers.2LANG=en_US.UTF-8, missing the '-' – eee – 2016-11-23T14:07:20.107
The
unable to resolve host
is there, but still this command works. – Neurotransmitter – 2016-12-06T08:45:37.750I have tried
LANG=fa.UTF8
for persian language, but getting this error:*** update-locale: Error: invalid locale settings: LANG=fa.UTF8
– OmG – 2018-02-21T11:43:04.177