Change menu/ui language of vim to english
I search on google and I read several answers but I am unable to change the menu/ui language of vim to english.
Im my .vimrc
I have
set langmenu=en_US.UTF-8
language messages en_US.UTF-8
but it doesn't work, vim uses the default language of my system.
I tried
set langmenu=none
but it's the same.
locale en_US.UTF-8
is installed.
I am using vim 7.4 on ubuntu.
Thanks for the help.
My native language is Chinese and I use Windows 7. I tried to do this like you did before, finally I tried to writing the following in _vimrc
file and it worked for me.
set langmenu=en_US
let $LANG = 'en_US'
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
In case of Gvim it is quite simple to change the language of the gui part of gvim
Go to C:\Program Files (x86)\Vim\vim74\lang
and remove all folders...
and restart gvim then it will open in English...
It works for me to simply add one line
language en_US.utf8
at the top of .vimrc
.
Since en_US.utf8
is the output of you $ locale -a
command,
you should use
language en_US.utf8
instead of
language en_US.UTF-8