Michael Herfert wrote:
I have extracted vim-7.0.tar and vim-7.0-lang.tar.
After configure and make and make install I have a running vim.
Fine.
But: All messages are still in English.
I want them in German.
How do I activate the german messages?
Michael
I assume your particular flavour of German is German (Germany). The
"official" Vim distribution does not include specific German translation
for Switzerland, Austria, Luxemburg or Belgium.
1. has("multi_lang") must be nonzero
2. $VIMRUNTIME/lang/de/LC_MESSAGES/vim.mo (which is not human-readable)
must exist
In addition, if you want German menus:
3. $VIMRUNTIME/lang/ must contain menu_de.<enc>.vim or
menu_de_de.<enc>.vim, where <enc> is your 'encoding' (on my system,
these files exist for latin1 and utf-8).
4. 'langmenu' must be either empty (the default) or set to "de" or "de_de".
If all of the above are true, then if your system locale is German, your
messages and menus should come out in German. If your system locale is
_not_ German, then place the line
language messages de
at the top of your vimrc, before any of the following if they exist:
source $VIMRUNTIME/vimrc_example.vim
runtime vimrc_example.vim
filetype [plugin] [indent] on
If 1. to 4. above are _not_ all true, then:
for 1. Vim must be recompiled with Normal, Big or Huge features.
for 2. it means the "lang" archive was not unpacked where it should have
been.
for 3. or 4., change your vimrc.
Best regards,
Tony.