sponsor Vim development Vim logo Vim Book Ad

Google Translate : Google Translate for Vim

 script karma  Rating 26/10, Downloaded by 951  Comments, bugs, improvements  Vim wiki

created by
Slava Rudy
 
script type
utility
 
description
Example of using:

:Translate Hello World
 
install details
Dependencies:
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: 18.188.61.223

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.
   
Vim at Github