Sunday, June 19, 2011

Re: gvim tear off menus when LANG not English

On 19/06/11 14:28, esquifit wrote:
> Hi
>
> I'm using gvim 7.3 on WinXP. When the environment variable LANG is
> not EN, say DE for German, the menu and menu items are correctly
> displayed in German as well as the error messages. The menu entries
> are also fully functional. However tear off menus are not working.
> Instead I'm getting the following:
>
> Rei<df>e dieses Men<fc> ab
> E337: Men<fc> nicht gefunden -<fc>berpr<fc>fe Men<fc>-Name
>
> (Translation:
> Tear off this menu
> E337: Menu not found - Check menu name)
>
> The problem arose after the upgrade to 7.2 or 7.3, AFAIC. I've always
> been using gvim in German and it used to work until the upgrade.
>
> I wasn't able to find a solution either in the vim help or via Google.
> Does anybody know how to repair this?
>

This seems to be a Windows-only problem: Works for me in gvim 7.3.226
with GTK2 GUI on Linux64.

Experiment 1.
1. Start gvim with my usual vimrc (which sets :lang mess C)
--- gvim comes up in English.
2. :lang de_DE.UTF-8
3. :runtime delmenu.vim
--- Menubar disappears
4. :runtime menu.vim
--- Menubar reappears in German
5. Open a menu then click its tear-off bar
--- Teared-off menu opens.

Experiment 2.
1. Start gvim with the following command-line (all on one line):
LC_MESSAGES=de_DE.UTF-8 gvim -u
/usr/local/share/vim/vim73/vimrc_example.vim
--- gvim opens with German splash screen and menus
2. Open a menu and click its tear-off bar.
--- Teared-off menu opens.

I've tried a few additional variants of the same, in all cases the
tear-off widget works OK for me.


Best regards,
Tony.
--
Good day for water sports. Take a bath with a friend.

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

No comments: