Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ubuntu Default language midnight commander

Tags:

ubuntu

mc

Please help me to change default language in midnight commander from ru to en, now, to start mc in english i have to write LANG=en_EN.UTF-8 mc in terminal, but it's too long, i want mc in english by mc ty:)

like image 832
Игорь Avatar asked Oct 05 '15 04:10

Игорь


People also ask

What is Midnight Commander Ubuntu?

DESCRIPTION. GNU Midnight Commander is a directory browser/file manager for Unix-like operating systems.


2 Answers

From ru.stackoverflow.com in russian

Try to make alias like:

alias mc='LANG=en_EN.UTF-8 mc'

Author says not a best way, but helped

Also you need source ~./bashrc or logout to apply changes

like image 131
Saidolim Avatar answered Sep 19 '22 21:09

Saidolim


I stumbled over this thread trying to change my Midnight Commander on macOS Sierra away from French and since macOS is unix and since using an alias did not really suit me, this is what I added to my ~/.bashrc:

export LANG="en_EN.UTF-8"

then I sourced .bashrc and all was well (i.e. ran source ~/.bashrc in the terminal).

Please note that this might affect other applications as well. But I have not discovered any - in any case that is exactly what I want. Further note that I have only tested this on a mac, yet it should work just as well on Ubuntu or other *nix's.

like image 29
Dom Avatar answered Sep 19 '22 21:09

Dom