My default language in Linux is English.
LANG="en_US.UTF-8"
LC_NUMERIC="en_IN.UTF-8"
LC_TIME="en_IN.UTF-8"
LC_MONETARY="en_IN.UTF-8"
LC_PAPER="en_IN.UTF-8"
LC_NAME="en_IN.UTF-8"
LC_ADDRESS="en_IN.UTF-8"
LC_TELEPHONE="en_IN.UTF-8"
LC_MEASUREMENT="en_IN.UTF-8"
LC_IDENTIFICATION="en_IN.UTF-8"
However, when I try to install texmaker I get Spanish options instead of English. What is the mistake I'm doing? i install texmaker using the following command
sudo apt-get install texmaker
Any help will be appreciated Not sure if this is the correct place for this question. please redirect if necessary.
It work for switching between Russian and English locale. I haven't installed Spanish locale and can't test solution. But I hope below can work for you:
$ LANG=ru_UA.utf8 #Replace ru_UA to your Spanish (es-US or es-ES) locale here.
$ sudo apt-get install texmaker #After run it you get message on desired language
$ LANG=en_EN.utf8 #Return old locale