A very geeky command line translation tool.

Features
- Chinese <=> English
- Speech
- Others language support
- Google translation engine
Installation
Go
go get -u github.com/archervanderwaal/jadetrans
jadetrans -h
Usage
Configuration
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.
Query
jadetrans <words>
Select engine
jadetrans <words> -e=youdao
Speech
jadetrans <words> -voice=1
#or
jadetrans <words> -voice=0
JadeTrans:命令行翻译神器
JadeTrans是一款极客级的命令行翻译工具,支持中英文互译及多种语言,采用Google翻译引擎,具备语音功能。安装简单,配置灵活,通过修改jadetrans.yaml文件即可使用。

333

被折叠的 条评论
为什么被折叠?



