Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
README.txt
menu_af.latin1.vim
menu_af.utf-8.vim
menu_af_af.latin1.vim
menu_af_af.utf-8.vim
menu_ca.latin1.vim
menu_ca.utf-8.vim
menu_ca_es.latin1.vim
menu_ca_es.utf-8.vim
menu_chinese(gb)_gb.936.vim
menu_chinese(taiwan)_taiwan.950.vim
menu_chinese_gb.936.vim
menu_chinese_taiwan.950.vim
menu_cs.cp1250.vim
menu_cs.latin1.vim
menu_cs_cz.cp1250.vim
menu_cs_cz.iso_8859-2.vim
menu_cs_cz.latin1.vim
menu_czech_czech_republic.1250.vim
menu_czech_czech_republic.1252.vim
menu_czech_czech_republic.ascii.vim
menu_de.latin1.vim
menu_de.utf-8.vim
menu_de_de.latin1.vim
menu_de_de.utf-8.vim
menu_en_gb.latin1.vim
menu_en_gb.utf-8.vim
menu_english_united_kingdom.1252.vim
menu_english_united_kingdom.ascii.vim
menu_eo.utf-8.vim
menu_eo_eo.utf-8.vim
menu_eo_xx.utf-8.vim
menu_es.latin1.vim
menu_es.utf-8.vim
menu_es_es.latin1.vim
menu_es_es.utf-8.vim
menu_fi.latin1.vim
menu_fi.utf-8.vim
menu_fi_fi.latin1.vim
menu_fi_fi.utf-8.vim
menu_finnish_finland.1252.vim
menu_fr.latin1.vim
menu_fr.utf-8.vim
menu_fr_fr.latin1.vim
menu_fr_fr.utf-8.vim
menu_french_france.1252.vim
menu_german_germany.1252.vim
menu_hu.iso_8859-2.vim
menu_hu.utf-8.vim
menu_hu_hu.iso_8859-2.vim
menu_hu_hu.utf-8.vim
menu_it.latin1.vim
menu_it.utf-8.vim
menu_it_it.latin1.vim
menu_it_it.utf-8.vim
menu_italian_italy.1252.vim
menu_ja.cp932.vim
menu_ja.euc-jp.vim
menu_ja.eucjp.vim
menu_ja.ujis.vim
menu_ja.utf-8.vim
menu_ja_jp.cp932.vim
menu_ja_jp.euc-jp.vim
menu_ja_jp.eucjp.vim
menu_ja_jp.ujis.vim
menu_ja_jp.utf-8.vim
menu_japanese_japan.932.vim
menu_ko.utf-8.vim
menu_ko_kr.euckr.vim
menu_ko_kr.utf-8.vim
menu_ko_kr.vim
menu_nl.latin1.vim
menu_nl.utf-8.vim
menu_nl_nl.latin1.vim
menu_nl_nl.utf-8.vim
menu_no.latin1.vim
menu_no.utf-8.vim
menu_no_no.latin1.vim
menu_no_no.utf-8.vim
menu_pl.cp1250.vim
menu_pl_pl.cp1250.vim
menu_pl_pl.iso_8859-2.vim
menu_pl_pl.utf-8.vim
menu_polish_poland.1250.vim
menu_pt_br.latin1.vim
menu_pt_br.utf-8.vim
menu_pt_br.vim
menu_pt_pt.latin1.vim
menu_pt_pt.utf-8.vim
menu_pt_pt.vim
menu_ru.utf-8.vim
menu_ru_ru.koi8-r.vim
menu_ru_ru.utf-8.vim
menu_ru_ru.vim
menu_sk.cp1250.vim
menu_sk_sk.1250.vim
menu_sk_sk.cp1250.vim
menu_sk_sk.iso_8859-2.vim
menu_sk_sk.vim
menu_sl_si.cp1250.vim
menu_sl_si.latin2.vim
menu_sl_si.utf-8.vim
menu_slovak_slovak_republic.1250.vim
menu_spanish_spain.850.vim
menu_sr.utf-8.vim
menu_sr_yu.ascii.vim
menu_sr_yu.iso_8859-2.vim
menu_sr_yu.iso_8859-5.vim
menu_sr_yu.utf-8.vim
menu_sv.latin1.vim
menu_sv.utf-8.vim
menu_sv_se.latin1.vim
menu_sv_se.utf-8.vim
menu_uk_ua.cp1251.vim
menu_uk_ua.koi8-u.vim
menu_vi_vn.vim
menu_zh.big5.vim
menu_zh.cp936.vim
menu_zh.cp950.vim
menu_zh.gb2312.vim
menu_zh_cn.18030.vim
menu_zh_cn.cp936.vim
menu_zh_cn.gb2312.vim
menu_zh_cn.gbk.vim
menu_zh_cn.utf-8.vim
menu_zh_tw.big5.vim
menu_zh_tw.cp950.vim
menu_zh_tw.utf-8.vim

README.txt

Language files for Vim

Translated menus
----------------

The contents of each menu file is a sequence of lines with "menutrans"
commands.  Read one of the existing files to get an idea of how this works.

More information in the on-line help:

	:help multilang-menus
	:help :menutrans
	:help 'langmenu'
	:help :language

The "$VIMRUNTIME/menu.vim" file will search for a menu translation file.  This
depends on the value of the "v:lang" variable.

	"menu_" . v:lang . ".vim"

When the 'menutrans' option is set, its value will be used instead of v:lang.

The file name is always lower case.  It is the full name as the ":language"
command shows (the LC_MESSAGES value).

For example, to use the Big5 (Taiwan) menus on MS-Windows the $LANG will be

	Chinese(Taiwan)_Taiwan.950

and use the menu translation file:

	$VIMRUNTIME/lang/menu_chinese(taiwan)_taiwan.950.vim

On Unix you should set $LANG, depending on your shell:

	csh/tcsh:	setenv LANG "zh_TW.Big5"
	sh/bash/ksh:	export LANG="zh_TW.Big5"

and the menu translation file is:

	$VIMRUNTIME/lang/menu_zh_tw.big5.vim

The menu translation file should set the "did_menu_trans" variable so that Vim
will not load another file.


AUTOMATIC CONVERSION

When Vim was compiled with multi-byte support, conversion between latin1 and
UTF-8 will always be possible.  Other conversions depend on the iconv
library, which is not always available.
For UTF-8 menu files which only use latin1 characters, you can rely on Vim
doing the conversion.  Let the UTF-8 menu file source the latin1 menu file,
and put "scriptencoding latin1" in that one.
Other conversions may not always be available (e.g., between iso-8859-# and
MS-Windows codepages), thus the converted menu file must be available.


Translated messages
-------------------

This requires doing "make install" in the "src" directory.  It will compile
the portable files "src/po/*.po" into binary ".mo" files and place them in the
right directory.
Something went wrong with that request. Please try again.