Dranslate

Drag over any text on your Mac, in a web page, a PDF or a document, and the translation opens in a small window right next to it. The name is Drag + Translate.

How to useGeminiInstallGood to know

A web page with a Korean sentence selected, and the Dranslate window next to it showing the English translation with Copy All and Copy Selected buttons
Select a sentence and the translation opens beside it. The translation shown is real output from Apple Translation.

Why I made it

When I read something in another language, I kept copying a sentence, switching to a translator, pasting it, reading the result and switching back. I wanted the translation to appear where I was already looking, without leaving the page.

How to use

FeatureWhat it does
DragSelect text with the mouse (or double-click a word) and a small translate button appears next to it. Click it to open the translation. In Settings you can make the translation open right away instead, or turn this off.
Shortcut (⌃⌘E)Select text and press it to translate right away. You can change it in Settings, and Dranslate warns you if macOS or another app already uses the keys you pick.
Right-clickSelect text, right-click, and choose Services → Translate with Dranslate.
Translation windowFloats above every window. It opens to the left of the text when the text is on the right side of the screen, and to the right otherwise, and stays within 30% of the screen's width and height. Long translations scroll. Press Esc to close it.
Copy All, Copy SelectedButtons fixed at the top copy the whole translation or just the part you selected.
Target languageYour Mac's language by default. Text that is already in your Mac's language is translated into English. Pick from about 20 languages in the menu at the top.

Translations use Apple Translation, which is built into macOS. It's free, fast and works offline, and your text never leaves your Mac. Each language downloads its files once. The app itself is in English and Korean, and you can choose in Settings.

Connect Gemini (optional)

If you want AI translations with a more natural tone, connect your own Gemini key. The translation appears as it is written.

  1. Sign in to Google AI Studio with a Google account, create a free API key and copy it.
  2. Click the Dranslate icon in the menu bar, open Settings…, and choose Gemini under Engine.
  3. Paste the key and click Save. When you see "Connected", you're done.

Why only Gemini?

Other AI services, such as ChatGPT and Claude, can't be connected through a monthly subscription like ChatGPT Plus. Each one needs a separate API key that is billed per use, on top of the subscription. Gemini gives you a free key with just a Google account, plus a free quota, so you can use AI translation without paying extra.

With Gemini, the text you translate is sent to Google. On the free tier Google may use it to improve its services, so use Apple Translation for private text. Your key is stored only in your Mac's Keychain.

Install

  1. Download Dranslate-1.0.2.zip, unzip it, and move Dranslate.app to your Applications folder.
  2. Open the app. If macOS blocks it, open it this way.
  3. Allow Dranslate under System Settings → Privacy & Security → Accessibility.
  4. When the speech bubble icon appears in the menu bar, select some text and try it.

macOS requires Accessibility permission for an app to read text you select in other apps. Dranslate reads it only when you translate, and keeps no history.

Good to know

  • Places that don't share selected text, such as text inside images or games, won't show the drag button. In most apps the shortcut or the right-click menu still works.
  • In apps that don't share selected text, the shortcut copies it with ⌘C and then puts your clipboard back as it was.
  • If you see a message about missing Apple Translation language files, click the button in the window, download the language under Translation Languages, and try again.
  • Because the app isn't signed, updating it resets the Accessibility permission. If the drag button stops appearing after an update, turn Dranslate off and on again under Accessibility.