Tuesday, December 13, 2016

Re: How to set the language of ui in gvim


On Tue, Dec 13, 2016 at 6:02 AM 李哲 <imlegendlzz@gmail.com> wrote:
According to this link I already add the language setting code into my vimrc file.
http://superuser.com/a/921446/609799

"Set The Language Of The Vim"
set langmenu=en_US
let $LANG = 'en_US'
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim


But the language on the ui is still CN how to change that ?

What you need is a single line of code in your vimrc:

language en_US

By the way, the "source delmenu.vim" and "source menu.vim" trick in vimrc was a work-around to a Vim bug which I believe to be fixed around 10 years ago. I'm quite astonished that people still keep doing that even till today.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment