Translate text using Google Translate API.
:GoogleTranslate
translate current line.
:'<,'>GoogleTranslate
translate text that blockwize visual.
:GoogleTranslate ja
translate current line to japanese.
:GoogleTranslate zh-cn ja
translate current line from chinese to japanese.
:GoogleTranslate zh-cn ja 谷歌翻译
translate '谷歌翻译' from chinese to japanese.
:Trans
alias for :GoogleTranslate
- http://www.vim.org/scripts/script.php?script_id=2609
- http://www.vim.org/scripts/script.php?script_id=2996
- :h mlang.txt
- :h locale
- :h language
- :h v:lang
- mattn
- hotoo