# OpenAI Translator | The Translator That Does More Than Just Translation Powered By OpenAI 💠

**URL:** <https://onehack.st/t/openai-translator-the-translator-that-does-more-than-just-translation-powered-by-openai/291715>\
**Category:** Tools & Scripts\
**Tags:** privacy, freebies, ai, browsers\
**Created:** [September 19, 2024, 9:40pm UTC](https://onehack.st/t/openai-translator-the-translator-that-does-more-than-just-translation-powered-by-openai/291715 "2024-09-19T21:40:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [September 19, 2024, 9:40pm UTC](https://onehack.st/t/openai-translator-the-translator-that-does-more-than-just-translation-powered-by-openai/291715/1 "2024-09-19T21:40:50Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/f/6/f64fa304d0f89d45f31102853df334349c694126.jpeg)

_The translator that does more than just translation - powered by OpenAI._

English | 中文

[![MIT License](https://camo.githubusercontent.com/beb1364e211d8d7024cf5e5e387de70f3c841598e4388bf23690e5b1360d6a36/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7965746f6e652f6f70656e61692d7472616e736c61746f722e7376673f7374796c653d666c61742d737175617265) ](https://github.com/openai-translator/openai-translator/blob/main/LICENSE)[![TypeScript](https://camo.githubusercontent.com/40bca0cb9ab3c503fbba1ad12e2695fed7ed6cdb11e966d3be27d5aae44406df/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d547970655363726970742d626c75653f7374796c653d666c61742d737175617265266c6f676f3d74797065736372697074266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/40bca0cb9ab3c503fbba1ad12e2695fed7ed6cdb11e966d3be27d5aae44406df/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d547970655363726970742d626c75653f7374796c653d666c61742d737175617265266c6f676f3d74797065736372697074266c6f676f436f6c6f723d7768697465) [![Rust](https://camo.githubusercontent.com/4778583050c1a7239e8d2d35c01de28622f79243c11e86e565f7fcb02bed5cb0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d527573742d6f72616e67653f7374796c653d666c61742d737175617265266c6f676f3d72757374266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/4778583050c1a7239e8d2d35c01de28622f79243c11e86e565f7fcb02bed5cb0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d527573742d6f72616e67653f7374796c653d666c61742d737175617265266c6f676f3d72757374266c6f676f436f6c6f723d7768697465) [![Chrome](https://camo.githubusercontent.com/4de7b2d27e334be4369a4e7d89d476a51c11437cb4936db5029752e0b363d7c4/68747470733a2f2f696d672e736869656c64732e696f2f6368726f6d652d7765622d73746f72652f73746172732f6f676a69626a70686f6164686c6a616f6963646e6a6e6d676f6b6f686e6763633f636f6c6f723d626c7565266c6162656c3d4368726f6d65267374796c653d666c61742d737175617265266c6f676f3d676f6f676c652d6368726f6d65266c6f676f436f6c6f723d7768697465) ](https://chrome.google.com/webstore/detail/openai-translator/ogjibjphoadhljaoicdnjnmgokohngcc)[![Firefox](https://camo.githubusercontent.com/6738be7e012ef2e4a3d646e3dd09141476b7bf7cc9b93d71d926c0c319fa618d/68747470733a2f2f696d672e736869656c64732e696f2f616d6f2f73746172732f6f70656e61692d7472616e736c61746f723f636f6c6f723d6f72616e6765266c6162656c3d46697265666f78267374796c653d666c61742d737175617265266c6f676f3d66697265666f78266c6f676f436f6c6f723d7768697465) ](https://addons.mozilla.org/en-US/firefox/addon/openai-translator/)[![macOS](https://camo.githubusercontent.com/05c08fd51011a5730f00da027dca9e2a4ca93f76d85f2b360b7d6e426ae7e4d0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d6d61634f532d626c61636b3f7374796c653d666c61742d737175617265266c6f676f3d6170706c65266c6f676f436f6c6f723d7768697465) ](https://github.com/yetone/openai-translator/releases)[![Windows](https://camo.githubusercontent.com/43366e62742fd7767b268b9a6d7757510a6829a93eba83f8a1d77c481be448ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d57696e646f77732d626c75653f7374796c653d666c61742d737175617265266c6f676f3d77696e646f7773266c6f676f436f6c6f723d7768697465) ](https://github.com/yetone/openai-translator/releases)[![Linux](https://camo.githubusercontent.com/ee67a33114a6a5dd0704b6151bdfe3a6f7ee0dfebec58df2e62355705727aaf1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d4c696e75782d79656c6c6f773f7374796c653d666c61742d737175617265266c6f676f3d6c696e7578266c6f676f436f6c6f723d7768697465)](https://github.com/yetone/openai-translator/releases)

# Why Yet another Translator

I have developed a [Bob](https://bobtranslate.com/) [plugin](https://github.com/yetone/bob-plugin-openai-translator) that utilizes ChatGPT API to provide global word translation on macOS. However, since not all users have access to macOS to benefit from the plugin, I have created this project!

# More than just a browser extension

What began as a Chrome extension has now evolved into a multi-platform desktop app that I am currently developing.

[![](https://user-images.githubusercontent.com/1206493/223899374-ff386436-63b8-4618-afdd-fed2e6b48d56.png)](https://user-images.githubusercontent.com/1206493/223899374-ff386436-63b8-4618-afdd-fed2e6b48d56.png)

# More than just translation

What began as a translation tool has now evolved to include surprisingly effective word polishing and summarization capabilities, ~~accidentally~~.

# How to use

[![](https://user-images.githubusercontent.com/1206493/223200182-6a1d2a02-3fe0-4723-bdae-99d8b7212a33.gif)](https://user-images.githubusercontent.com/1206493/223200182-6a1d2a02-3fe0-4723-bdae-99d8b7212a33.gif)

# Features

1. It offers three modes: translation, polishing and summarization.
2. Our tool allows for mutual translation, polishing and summarization across 55 different languages.
3. Streaming mode is supported!
4. It allows users to customize their translation text.
5. One-click copying
6. Text-to-Speech (TTS)
7. Available on all platforms (Windows, macOS, and Linux) for both browsers and Desktop
8. Support screenshot translation
9. Support for vocabulary books, as well as support for generating memory aids based on the words in the vocabulary books
10. Supports both [OpenAI](https://openai.com/) and [Azure OpenAI Service](https://azure.microsoft.com/en-us/products/cognitive-services/openai-service) at the same time

# Preparation

- (required) Apply for an OpenAI API key [here](https://platform.openai.com/account/api-keys) or [Azure OpenAI Service API Key](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/chatgpt-quickstart?tabs=command-line&pivots=rest-api#retrieve-key-and-endpoint)
- (optional) If you cannot access OpenAI, you can use the OpenAI API Proxy.

# Installation

## Windows

### Install Manually

1. Download the installation package ending in `.exe` from the [Latest Release](https://github.com/yetone/openai-translator/releases/latest) page.
2. Double click the downloaded file to install it.
3. If prompted as unsafe, you can click on `More Info` → `Run Anyway` to proceed with the installation.
4. Ready to use!

## MacOS

### Install Manually

1. Go to the [Latest Release](https://github.com/yetone/openai-translator/releases/latest) page and download the corresponding chip’s `.dmg` installation package. Note: Use aarch64 version for Apple Silicon machines and run `xattr` command below.
2. Double click the downloaded file to install it.
3. Ready to use!

### Troubleshooting

- “OpenAI Translator” can’t be opened because the developer cannot be verified.[![](https://user-images.githubusercontent.com/1206493/223916804-45ce3f34-6a4a-4baf-a0c1-4ab5c54c521f.png)](https://user-images.githubusercontent.com/1206493/223916804-45ce3f34-6a4a-4baf-a0c1-4ab5c54c521f.png)
  - Click the `Cancel` button, then go to the `Settings` → `Privacy and Security` page, click the `Still Open` button, and then click the `Open` button in the pop-up window. After that, there will be no more pop-up warnings when opening `OpenAI Translator`. 🎉[![](https://user-images.githubusercontent.com/1206493/223916970-9c99f15e-cf61-4770-b92d-4a78f980bb26.png)](https://user-images.githubusercontent.com/1206493/223916970-9c99f15e-cf61-4770-b92d-4a78f980bb26.png) [![](https://user-images.githubusercontent.com/1206493/223917449-ed1ac19f-c43d-4b13-9888-79ba46ceb862.png)](https://user-images.githubusercontent.com/1206493/223917449-ed1ac19f-c43d-4b13-9888-79ba46ceb862.png)
  - If you cannot find the above options in `Privacy & Security`, or get error prompts such as broken files with Apple Silicon machines. Open `Terminal.app` and enter the following command (you may need to enter a password halfway through), then restart `OpenAI Translator`:

```auto
sudo xattr -d com.apple.quarantine /Applications/OpenAI\ Translator.app

```

- If you encounter a permission prompt every time you open it, or if you cannot perform a shortcut translation, please go to `Settings` → `Privacy & Security` → `Supporting Features` to remove OpenAI Translator, and then re-add OpenAI Translator.[![](https://user-images.githubusercontent.com/1206493/224536148-eec559bf-4d99-48c1-bbd3-2cc105aff084.png)](https://user-images.githubusercontent.com/1206493/224536148-eec559bf-4d99-48c1-bbd3-2cc105aff084.png) [![](https://user-images.githubusercontent.com/1206493/224536277-4200f58e-8dc0-4c01-a27a-a30d7d8dc69e.gif)](https://user-images.githubusercontent.com/1206493/224536277-4200f58e-8dc0-4c01-a27a-a30d7d8dc69e.gif)

## Installing Desktop Clip Extensions

For details, see [Desktop Clip Extension](https://github.com/openai-translator/openai-translator/blob/main/CLIP-EXTENSIONS.md)

[![](https://user-images.githubusercontent.com/1206493/240355949-8f41d98d-f097-4ce4-a533-af60e1757ca1.gif)](https://user-images.githubusercontent.com/1206493/240355949-8f41d98d-f097-4ce4-a533-af60e1757ca1.gif)

## Browser Extension

1. Visit your Browser Extension Store to install this plugin:[![](https://camo.githubusercontent.com/f277c329d3ba2766b09d0ae8658233b1af49cac1559f650908ed284732285776/68747470733a2f2f696d672e736869656c64732e696f2f6368726f6d652d7765622d73746f72652f762f6f676a69626a70686f6164686c6a616f6963646e6a6e6d676f6b6f686e6763633f6c6162656c3d4368726f6d6525323057656225323053746f7265267374796c653d666f722d7468652d626164676526636f6c6f723d626c7565266c6f676f3d676f6f676c652d6368726f6d65266c6f676f436f6c6f723d7768697465) ](https://chrome.google.com/webstore/detail/openai-translator/ogjibjphoadhljaoicdnjnmgokohngcc)[![](https://camo.githubusercontent.com/9ea696e5378d8a39dca4c81c76b2a781ca5550249a6260178ab32f37723abe72/68747470733a2f2f696d672e736869656c64732e696f2f616d6f2f762f6f70656e61692d7472616e736c61746f723f6c6162656c3d46697265666f782532304164642d6f6e267374796c653d666f722d7468652d626164676526636f6c6f723d6f72616e6765266c6f676f3d66697265666f78266c6f676f436f6c6f723d7768697465)](https://addons.mozilla.org/en-US/firefox/addon/openai-translator/)
2. Click on the OpenAI Translator icon in the browser plugin list, and enter the obtained API KEY into the configuration interface that pops up from this plugin.[![](https://user-images.githubusercontent.com/1206493/222958165-159719b4-28a5-44a4-b700-567786df7f03.png)](https://user-images.githubusercontent.com/1206493/222958165-159719b4-28a5-44a4-b700-567786df7f03.png)
3. Refresh the page in the browser to enjoy the smooth translation experience 🎉!

## Configure Azure OpenAI Service

```auto
const API_URL = `https://${resourceName}.openai.azure.com`
const API_URL_PATH = `/openai/deployments/${deployName}/chat/completions?api-version=${apiVersion}`

```

- resourceName: Your Azure OpenAI Service resource name.
- deployName: Your Azure OpenAI Service model deploy name, you can change your model here.
- api-version: 2023-05-15, or newer. (supported api-version can be found at [Azure’s official doc](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions))

# License

[LICENSE](https://github.com/openai-translator/openai-translator/blob/main/LICENSE)

# Star History

[![NebulaGraph Data Intelligence Suite(ngdi)](https://camo.githubusercontent.com/23bf8f642d4d2f9c554b17896f6ae03a7f4b62f56dc0c4cb05f7a492f48bf60b/68747470733a2f2f6170692e737461722d686973746f72792e636f6d2f7376673f7265706f733d7965746f6e652f6f70656e61692d7472616e736c61746f7226747970653d44617465)](https://star-history.com/#yetone/openai-translator&Date)

## GitHub:

> **[GitHub - nextai-translator/nextai-translator: 基于 ChatGPT API 的划词翻译浏览器插件和跨平台桌面端应用 - Browser...](https://github.com/nextai-translator/nextai-translator)**
>
> 基于 ChatGPT API 的划词翻译浏览器插件和跨平台桌面端应用 - Browser extension and cross-platform desktop application for translation based on ChatGPT API.
