Translate text in Raycast with models installed in your local Ollama library. Ollama Translate focuses on preserving meaning, tone, idioms, register, formatting, and terminology instead of translating word by word.
Ollama AI is a broad Ollama toolbox that includes translation among many other commands. Ollama Translate is intentionally focused on translation, with translate-while-typing, a remembered source and target language pair, offline language detection used as a model hint, reusable local history, language swapping, and a second-pass meaning review.
Choose Ollama AI if you want several Ollama workflows in one extension. Choose Ollama Translate if translation is your primary workflow and you want a dedicated interface and translation-specific controls.
For example, install a compact multilingual model with:
ollama pull gemma3:4b
Ollama Translate connects to http://127.0.0.1:11434 by default. The URL can be changed in the extension preferences, but only loopback addresses such as localhost, 127.x.x.x, and ::1 are accepted.
Type or paste text, then choose the language pair from the menu beside the search field. The From section includes Detect Language, while the To section selects the output language. Both choices are remembered.
The translation appears in the detail panel and is added to local history. Use the Action Panel to copy, review, swap, clear, or translate again.
Select text in any macOS application and run Translate Selected Text. The selected text is loaded directly into the translator.
The extension lists only models available from the local Ollama server. Cloud-tagged and embedding-only models are hidden. By default, the largest available chat model is selected because larger multilingual models generally preserve context and idioms more reliably.
Use Choose Local Model… in the Action Panel to change models. The selected model is remembered.
| Action | Shortcut |
|---|---|
| Translate now | ↵ before a result exists |
| Copy translation | ↵ when a result is selected |
| Double-check meaning | ⌘ ⇧ R |
| Copy source text | ⌘ ⇧ C |
| Swap languages | ⌘ D |
| Paste source text | ⌘ ⇧ V |
| Clear | ⌘ ⇧ ⌫ |
| Refresh local models | ⌘ R |
Translation requests go directly from the extension to the configured loopback URL. Remote Ollama servers are deliberately blocked. The extension has no analytics, external translation API, account, or API key, and translation history is stored locally by Raycast.
npm install
npm run dev
Before submitting a change:
npm run lint
npm run typecheck
npm run build