On 6/14/06, Ge <[EMAIL PROTECTED]> wrote:
I follow its direction, add this script to _vimrc:

if has("gui_win32")         " NT Windows
        try
                language messages en
        finally
                set langmenu=none
        endtry
endif

Now the menu in Vim is not in English, what's wrong
with my script? could anyone point it out, thanks.


------------------------

Here is the content of my _vimrc :

set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin

if has("gui_win32")         " NT Windows
        try
                language messages en
        finally
                set langmenu=none
        endtry
endif
[snipped]

Try putting these lines before sourcing vimrc_example.vim. The menu is
already loaded when executing 'language messages en", so the menu is
not affected.

Another way is "runtime! delmenu.vim" *after* setting the message language.

Yet another way is using the environment variable LANG without
changing your _vimrc. For English, just "set LANG=en".

Best regards,
--
Wu Yongwei
URL: http://wyw.dcweb.cn/

Reply via email to