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
:GoogleTranslateBalloon on
set balloon on, and translate when mouse hover.
:GoogleTranslateBalloon off
set balloon off.
<leader>gt
TODO: make output area. translate current visual-inline selection range.
- http://www.vim.org/scripts/script.php?script_id=2609
- http://www.vim.org/scripts/script.php?script_id=2996
- http://oracleabc.com/b/archives/665
- :h mlang.txt
- :h locale
- :h language
- :h v:lang
- mattn
- hotoo