As discribed at http://www.vim.org/download.php#yourself , ftp://ftp.vim.org/pub/vim/extra/vim-6.1-lang.tar.gz needed to enable translated messages and menu of vim. I tested it in Japanese environment. $ diff /usr/portage/app-editors/vim/vim-6.1-r10.ebuild /usr/local/portage/japan/vim-6.1-r10.ebuild 36a37,38 > # This contains translated messages and menu files > LANG="vim-${vim_version}-lang.tar.gz" 39c41,42 < http://www.ibiblio.org/gentoo/distfiles/${VIMPATCH}" --- > http://www.ibiblio.org/gentoo/distfiles/${VIMPATCH} > nls? ( ftp://ftp.vim.org/pub/vim/extra/${LANG})" 89a93 > unpack ${LANG}
we _need_ a LANG setting in make.conf I should think
Have to add "use nls &&" before "unpack ${LANG}". Hi Seemant, I think that nls plays the role well enough this case. How you want to use LANG here ?
erp, you're correct
by the definition you can setup LANG as lang[_COUNTRY[.codepage]] but for this example only lang_COUNTRY is needed, so fe.: LANG=cs_CZ.ISO-8859-2 will not work... The policy for locales for ebuilds, where needed, have to be defined.... In this case some script for including locale catalogs in case of nls could help...
Created attachment 8890 [details] updated vim.eclass Please put this file (vim.eclass) in /usr/portage/eclass and emerge vim-core. Let me know if this works properly.
Created attachment 8891 [details] updated vim.eclass Please put this file (vim.eclass) in /usr/portage/eclass and emerge vim-core. Let me know if this works properly.
It works perfect, at least I has the Japanese menu correctly displayed.
Added support in the vim eclass (vim.eclass) re-emerge vim-core to make use of it.