Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
tisfeng committed Dec 17, 2023
1 parent 6104328 commit 7533951
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 8 deletions.
23 changes: 19 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

## Easydict

`Easydict` 是一个简洁易用的词典翻译 macOS App,能够轻松优雅地查找单词或翻译文本。Easydict 开箱即用,能自动识别输入文本语言,支持输入翻译,划词翻译和 OCR 截图翻译,可同时查询多个翻译服务结果,目前支持 [有道词典](https://www.youdao.com/)[**🍎 苹果系统词典**](./docs/How-to-use-macOS-system-dictionary-in-Easydict-zh.md)[🍎 **苹果系统翻译**](./docs/How-to-use-macOS-system-translation-in-Easydict-zh.md)[OpenAI (ChatGPT)](https://chat.openai.com/)[DeepL](https://www.deepl.com/translator)[Google](https://translate.google.com)[Bing](https://www.bing.com/translator)[百度](https://fanyi.baidu.com/)[小牛翻译](https://niutrans.com/)[彩云小译](https://fanyi.caiyunapp.com/)[火山翻译](https://translate.volcengine.com/translate)
`Easydict` 是一个简洁易用的词典翻译 macOS App,能够轻松优雅地查找单词或翻译文本。Easydict 开箱即用,能自动识别输入文本语言,支持输入翻译,划词翻译和 OCR 截图翻译,可同时查询多个翻译服务结果,目前支持 [有道词典](https://www.youdao.com/)[**🍎 苹果系统词典**](./docs/How-to-use-macOS-system-dictionary-in-Easydict-zh.md)[🍎 **苹果系统翻译**](./docs/How-to-use-macOS-system-translation-in-Easydict-zh.md)[OpenAI (ChatGPT)](https://chat.openai.com/)[DeepL](https://www.deepl.com/translator)[Google](https://translate.google.com)[腾讯翻译](https://fanyi.qq.com/)[Bing](https://www.bing.com/translator)[百度](https://fanyi.baidu.com/)[小牛翻译](https://niutrans.com/)[彩云小译](https://fanyi.caiyunapp.com/)[火山翻译](https://translate.volcengine.com/translate)

![Log](https://raw.githubusercontent.com/tisfeng/ImageBed/main/uPic/Log-1688378715.png)

Expand All @@ -42,7 +42,7 @@
- [x] 支持系统 TTS,支持 Bing,Google,有道和百度在线 TTS 服务。
- [x] 支持 [🍎 苹果系统词典](./docs/How-to-use-macOS-system-dictionary-in-Easydict-zh.md),支持第三方词典,可手动导入 mdict 词典。
- [x] 支持 macOS 系统翻译。详情请看 [如何在 Easydict 中使用 🍎 macOS 系统翻译?](./docs/How-to-use-macOS-system-translation-in-Easydict-zh.md)
- [x] 支持有道词典,OpenAI (ChatGPT),DeepL,Google,Bing,百度,小牛,彩云和火山翻译。
- [x] 支持有道词典,OpenAI (ChatGPT),DeepL,Google,Bing,腾讯,百度,小牛,彩云和火山翻译。
- [x] 支持 48 种语言。

**如果觉得这个应用还不错,给个 [Star](https://github.com/tisfeng/Easydict) ⭐️ 支持一下吧 (^-^)**
Expand Down Expand Up @@ -75,6 +75,7 @@
- [DeepL 翻译](#deepl-翻译)
- [配置 AuthKey](#配置-authkey)
- [配置 API 调用方式](#配置-api-调用方式)
- [腾讯翻译](#腾讯翻译)
- [Bing 翻译](#bing-翻译)
- [小牛翻译](#小牛翻译)
- [彩云小译](#彩云小译)
Expand Down Expand Up @@ -435,6 +436,20 @@ easydict://writeKeyValue?EZDeepLTranslationAPIKey=1
easydict://writeKeyValue?EZDeepLTranslationAPIKey=2
```

### 腾讯翻译

[腾讯翻译](https://fanyi.qq.com/) 需要 API key,为使用方便,我们内置了一个 key,这个 key 有额度限制,不保证一直能用。

建议使用自己的 API key,每个注册用户腾讯翻译每月赠送 500 万字符流量,足以日常使用了。

```
// xxx 腾讯翻译的 SecretId
easydict://writeKeyValue?EZTencentSecretId=xxx
// xxx 腾讯翻译的 SecretKey
easydict://writeKeyValue?EZTencentSecretKey=xxx
```

### Bing 翻译

目前 Bing 翻译使用的是网页接口,当触发频率限制 429 报错时,除了切换代理,还可以通过手动设置请求 cookie 来续命,具体续命多久暂时不清楚。
Expand All @@ -456,9 +471,9 @@ easydict://writeKeyValue?EZBingCookieKey=xxx
### 小牛翻译

[小牛翻译](https://niutrans.com/) 需要 APIKey,为使用方便,我们内置了一个 key,这个 key 有额度限制,不保证一直能用。
[小牛翻译](https://niutrans.com/) 需要 API key,为使用方便,我们内置了一个 key,这个 key 有额度限制,不保证一直能用。

建议使用自己的 APIKey,每个注册用户小牛翻译每日赠送 20 万字符流量,足以日常使用了。
建议使用自己的 API key,每个注册用户小牛翻译每日赠送 20 万字符流量,足以日常使用了。

```
// xxx 小牛翻译的 APIKey
Expand Down
38 changes: 34 additions & 4 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

## Easydict

`Easydict` is a concise and easy-to-use translation dictionary macOS App that allows you to easily and elegantly look up words or translate text. Easydict is ready to use out of the box, can automatically recognize the language of the input text, supports input translate, select translate, and OCR screenshot translate, and can query multiple translation services results at the same time. Currently, it supports [Youdao Dictionary](https://www.youdao.com/), [**🍎 Apple System Dictionary**](./docs/How-to-use-macOS-system-dictionary-in-Easydict-en.md), [**🍎 macOS System Translation**](./docs/How-to-use-macOS-system-dictionary-in-Easydict-zh.md), [OpenAI(ChatGPT)](https://chat.openai.com/), [DeepL](https://www.deepl.com/translator), [Google](https://translate.google.com/), [Bing Translate](https://www.bing.com/translator), [Baidu](https://fanyi.baidu.com/), [Niutrans](https://niutrans.com/), [Lingocloud](https://fanyi.caiyunapp.com/#/) and [Volcano Translation](https://translate.volcengine.com/translate).
`Easydict` is a concise and easy-to-use translation dictionary macOS App that allows you to easily and elegantly look up words or translate text. Easydict is ready to use out of the box, can automatically recognize the language of the input text, supports input translate, select translate, and OCR screenshot translate, and can query multiple translation services results at the same time. Currently, it supports [Youdao Dictionary](https://www.youdao.com/), [**🍎 Apple System Dictionary**](./docs/How-to-use-macOS-system-dictionary-in-Easydict-en.md), [**🍎 macOS System Translation**](./docs/How-to-use-macOS-system-dictionary-in-Easydict-zh.md), [OpenAI(ChatGPT)](https://chat.openai.com/), [DeepL](https://www.deepl.com/translator), [Google](https://translate.google.com/), [Tencent Translate](https://fanyi.qq.com/), [Bing Translate](https://www.bing.com/translator), [Baidu](https://fanyi.baidu.com/), [Niutrans](https://niutrans.com/), [Lingocloud](https://fanyi.caiyunapp.com/#/) and [Volcano Translation](https://translate.volcengine.com/translate).

![Log](https://raw.githubusercontent.com/tisfeng/ImageBed/main/uPic/Log-1688378715.png)

Expand All @@ -41,7 +41,7 @@
- [x] Support system TTS, along with online services from Bing, Google, Youdao and Baidu Cloud.
- [x] Support [🍎 Apple System Dictionary](./docs/How-to-use-macOS-system-dictionary-in-Easydict-en.md), support third-party dictionaries with manual mdict dictionaries import functionalities.
- [x] Support macOS system translation. (_Please see [How to use 🍎 macOS system translation in Easydict?](./docs/How-to-use-macOS-system-dictionary-in-Easydict-en.md)_)
- [x] Support Youdao Dictionary, DeepL, OpenAI (ChatGPT), Google, Bing, Baidu, Niutrans, Lingocloud and Volcano Translate.
- [x] Support Youdao Dictionary, DeepL, OpenAI (ChatGPT), Google, Tencent, Bing, Baidu, Niutrans, Lingocloud and Volcano Translate.
- [x] Support for 48 languages.

**If you like this app, please consider giving it a [Star](https://github.com/tisfeng/Easydict) ⭐️, thanks! (^-^)**
Expand Down Expand Up @@ -74,6 +74,8 @@
- [DeepL Translate](#deepl-translate)
- [Configure AuthKey](#configure-authkey)
- [Configure API call method](#configure-api-call-method)
- [腾讯翻译](#腾讯翻译)
- [Tencent Translate](#tencent-translate)
- [Bing Translate](#bing-translate)
- [Niutrans](#niutrans)
- [Lingocloud](#lingocloud)
Expand Down Expand Up @@ -434,6 +436,34 @@ easydict://writeKeyValue?EZDeepLTranslationAPIKey=1
easydict://writeKeyValue?EZDeepLTranslationAPIKey=2
```

### 腾讯翻译

[腾讯翻译](https://fanyi.qq.com/) 需要 API key,为使用方便,我们内置了一个 key,这个 key 有额度限制,不保证一直能用。

建议使用自己的 API key,每个注册用户腾讯翻译每月赠送 500 万字符流量,足以日常使用了。

```
// xxx 腾讯翻译的 SecretId
easydict://writeKeyValue?EZTencentSecretId=xxx
// xxx 腾讯翻译的 SecretKey
easydict://writeKeyValue?EZTencentSecretKey=xxx
```

### Tencent Translate

[Tencent Translate](https://fanyi.qq.com/) requires an APIKey, for ease of use, we have built-in a key, this key has a limit on the amount, not guaranteed to be available all the time.

It is recommended to use your own APIKey, each registered user of Tencent Translate is given 5 million characters of traffic per month, which is enough for daily use.

```
// xxx is the SecretId of Tencent Translate
easydict://writeKeyValue?EZTencentSecretId=xxx
// xxx is the SecretKey of Tencent Translate
easydict://writeKeyValue?EZTencentSecretKey=xxx
```

### Bing Translate

At present, Bing Translator uses a web interface. When encountering a 429 error due to triggering rate limits, you can extend the usage by manually setting request cookies, aside from switching proxies. The exact duration of the time extension is currently unclear.
Expand All @@ -455,9 +485,9 @@ easydict://writeKeyValue?EZBingCookieKey=xxx
### Niutrans

[Niutrans](https://niutrans.com/) requires an APIKey, for ease of use, we have built-in a key, this key has a limit on the amount, not guaranteed to be available all the time.
[Niutrans](https://niutrans.com/) requires an API key, for ease of use, we have built-in a key, this key has a limit on the amount, not guaranteed to be available all the time.

It is recommended to use your own APIKey, each registered user of Niutrans is given 200,000 characters of traffic per day, which is enough for daily use.
It is recommended to use your own API key, each registered user of Niutrans is given 200,000 characters of traffic per day, which is enough for daily use.

```
// xxx is the APIKey of Niutrans
Expand Down

0 comments on commit 7533951

Please sign in to comment.