A very geeky command line translation tool.
- Chinese <=> English
- Speech
- Others language support
- Google translation engine
go get -u github.com/archervanderwaal/jadetrans
jadetrans -h
cd $HOME/.jadetrans
vim jadetrans.yaml
# add appKey and appSecret to jadetrans.yaml
# exp:
# youdao:
# appKey:
# appSecret:
If you don't have appKey and appSecret translated by youdao, go here and learn how to get appkey and appsecret translated by youdao.
jadetrans <words>
jadetrans <words> -e=youdao
jadetrans <words> -voice=1
#or
jadetrans <words> -voice=0