Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wizyoung/googletranslate.popclipext

(Unofficial) A free and easy-to-use Google Translate PopClip Extension (macOS). 一个免费的谷歌翻译 PopClip 插件 (macOS)。
https://github.com/wizyoung/googletranslate.popclipext

googletranslate popclip popclip-extensions popclipext

Last synced: 6 days ago
JSON representation

(Unofficial) A free and easy-to-use Google Translate PopClip Extension (macOS). 一个免费的谷歌翻译 PopClip 插件 (macOS)。

Awesome Lists containing this project

README

        

# Google Translate(PopClipExtension)
[中文说明](https://github.com/wizyoung/googletranslate.popclipext/blob/master/README_CN.md)

**NOTE**: Since version 3.0, the Python interpreter is switched from Python2 to Python3. If you don't have Python3 installed in your system, please install it yourself.

An unofficial free Google translate PopClip Extension based on [Googletrans Python API](https://github.com/ssut/py-googletrans).

## Preview

- English to Chinese (Simplified):

- Chinese (Simplified) to English:

Click `Copy` to copy the translated results.

## Settings

- `Google Translate Site`: Choosing from `translate.google.cn` (default) or `translate.google.com`. The `.cn` server is for users in mainland China where the `.com` server is blocked by the government.
- `Destination Language` and `Source Language`: If the selected text is not the `Source Language`, the sentences will be translated to the `Source Language`. Otherwise, the sentences will be translated to the `Destination Language`.

You can change all these settings by clicking the pencil shaped icon at the bottom of the popclip drop-down list.

## Install

Download the file from [Releases](https://github.com/wizyoung/googletranslate.popclipext/releases) and double click to install the extension.

The auto update alert feature is new to version 2.1, so the extension will check for updates once every seven days.

## Frequently asked questions

- Sometimes the pop-up window of PopClip just doesn't show up when I select some sentences.

It's the bug of PopClip. You can manually trigger PopClip window to appear by AppleScript: `tell application "PopClip" to appear`. And I'm using BetterTouchTool to achieve this function by binding `3 Finger Swipe Up` gesture to run this AppleScript.

## Thanks

- [Googletrans Python API](https://github.com/ssut/py-googletrans): A **free** and **unlimited** python library that implemented Google Translate API.
- [Turbo_祥](https://weibo.com/u/2627732300?topnav=1&wvr=6&topsug=1) and [把那该死的球传给我](https://weibo.com/u/2282786300?refer_flag=1001030101_): They helped design the beautiful icon and test this extension.

## Donation

If this extension helps you a lot, you can support me by: