An Emacs plugin for using the Youdao Translate API.
- Cloning youdao-translate.el from Github to ~/.emacs.d:
$ cd ~/.emacs.d $ git clone https://github.com/lu4nx/youdao-translate.el.git youdao-translate
- Copying following codes to ~/.emacs or ~/.emacs.d/init.el:
(add-to-list 'load-path "~/.emacs.d/youdao-translate")
(require 'youdao-translate)
Marking a word ( C-@ or C-Space), and:
M-x youdao-translate-word RET
or using youdao-input->translate and inputting a word:
M-x youdao-input->translate RET
Distributed under the GNU General Public License, version 3