Wednesday, December 14, 2016

Re: How to set the language of ui in gvim

On Wednesday, December 14, 2016 at 2:12:37 AM UTC+8, Lifu Tang wrote:
> On Tue, Dec 13, 2016 at 6:02 AM 李哲 <imleg...@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+u...@googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.


Hi, tnx a lot for your reply I reinstall the Vim and add the `language en_US` into the vimrc file. But I get the error.
I Google it and change the line to `language messages en_US`, there is no error message pop out. But the UI language still be CN.

![1215114158.bmp](http://7xpvdr.com1.z0.glb.clouddn.com/1215114158.bmp)

--
--
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