sponsor Vim development Vim logo Vim Book Ad

Google Translate : Google Translate for Vim

 script karma  Rating 18/8, Downloaded by 413    Comments, bugs, improvements  Vim wiki

created by
Slava Rudy
script type
Example of using:

:Translate Hello World
install details
Ruby and Rubygems;

sudo gem install google-translate;

Put plugin in Vim plugin directory (.vim/plugin)

Add in your .vimrc, string (For translation to Russian)
let g:langpair="ru"

Also, you can use translator in visual-mode for code blocks. Just put shortcut for a key bind
let g:vtranslate="T"
Now you can select the text, and by pressing Shift-T Google Translate will process the block.
If you wish, you can change the color results by using of command :echohl

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
gtranslate.vim 0.1 2011-04-08 7.0 Slava Rudy Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo