Translate when you copy.
- Support linux & windows
- Based on
Baidu
,Youdao
andBing
apis. - Sometimes it will log
ERROR baidu sdk error: 1022 msg: 访问出现异常,请刷新后重试!
, due to some unknown internal error inBaidu
apis. It is OK, because the copyTranslator will try other apis.
- Create environment.
conda create -n copy_trans python=3.7 conda activate copy_trans
- Download dependencies.
For linux, need run
pip install -r requirements
./linux_setup.sh
- Run it.
python run.py
- Copy and translate.