Skip to main content

Add Google translate to GoldenDict

Project description

google-translate-for-goldendict

Add Google translate for GoldenDict

GoldenDict 是一个非常好用的词典工具, 却不能整句或整段的翻译, 时常需要借助 Google translate 对于将 Google 翻译加到 GoldenDict 是一个很好的方法 φ(゜▽゜*)♪

screenshot

使用方法:

需要 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

google-translate-for-goldendict-1.3.9.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page