Add Google translate to GoldenDict
Project description
google-translate-for-goldendict
Add Google translate for GoldenDict
GoldenDict 是一个非常好用的词典工具, 却不能整句或整段的翻译, 时常需要借助 Google translate 对于将 Google 翻译加到 GoldenDict 是一个很好的方法 φ(゜▽゜*)♪
使用方法:
需要 python 3.7+:
pip3 install google-translate-for-goldendict
GoldenDict - 编辑 - 字典 - 字典来源 - 程式
类型: Html
名称: Google Translate
命令行: python -m googletranslate zh-CN %GDWORD%
图示: H:\PathTo\google_translate.png
类型可以设为 Html
或 纯文本
.
其中: Html
对应 -r "html"
. 纯文本
对应 -r "plain"
positional arguments:
target target language (eg: zh-CN)
query query string
optional arguments:
-h, --help show this help message and exit
-p PROXY proxy server (eg: 127.0.0.1:1080)
-a ALTERNATIVE alternative language (default: en)
-r TYPE result type (default: html)
-k TKK tkk
-m show synonyms
-d show definitions
-e show examples
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file google-translate-for-goldendict-1.3.9.tar.gz
.
File metadata
- Download URL: google-translate-for-goldendict-1.3.9.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eec33ca6f43f0797225a8ecaaa0f6ca05fb6404532af0b401a8db12f7427e7c |
|
MD5 | 4e7763561c1e7c2c4c1394ac735e20a0 |
|
BLAKE2b-256 | 9939c22c83c91a1ccf9c7900735ff549f14e5221c18383ed8fae228aaf041fb4 |
File details
Details for the file google_translate_for_goldendict-1.3.9-py3-none-any.whl
.
File metadata
- Download URL: google_translate_for_goldendict-1.3.9-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fa352025e99db9c6a34fc9073971e78596897a439a235b8e6fcd8468bcd459c |
|
MD5 | 91b381480e0dbd3884278aaeffb19c6c |
|
BLAKE2b-256 | e9956c1c569bce667267ca458a042998e45a1e0cc909882c0a4eec14e943b047 |