Repository navigation
Retrans v0.2.0
What's new
- AI translation providers. Translate with OpenAI (ChatGPT), Claude (Anthropic) or any OpenAI-compatible API (OpenRouter, Groq, DeepSeek, Ollama, LM Studio…), as well as the built-in local model. You can also use an AI agent you already have through ACP (Claude Code, Codex, Gemini CLI) with your existing subscription.
- API keys are kept in the macOS Keychain / Windows Credential Manager, never in files.
- The first time you choose a provider, Retrans asks before any text is sent, and names where it goes.
- Test this model shows exactly what is sent.
- Each project can use its own provider.
- Translate missing in several languages at once. Tick the languages you want, or All languages. Progress is shown per language, and translations appear as they stream in.
- Custom instructions for the AI. Set them for all projects (Preferences), for one project, and per language (project Settings, stored in
.retrans/state.jsonand shared through git). - Figma Variables. Open a folder of Figma
.tokens.jsonexports directly, or import them into a workspace.- Translate the strings, then give each one a code key or link it to an existing key.
- When Figma and your code disagree, you resolve it in a git-style conflict view: From code / From Figma / Original, or edit a final version.
- Export back to Figma changes only the text values, so re-importing updates your variables instead of duplicating them.
- Workspace tabs. Keep several projects open and switch instantly. Each tab keeps its own edits, filters and file watching, and work in a background tab keeps running. Your tabs reopen on the next launch; to start on the start screen instead, use Preferences → Startup.
- Auto-save. Edits are written to your files about a second after you stop typing. Unsaved work left by a crash is put back on the next launch without asking.
- Undo and redo for edits, review marks, key changes, conflict picks and whole Translate-missing runs (⌘Z / ⇧⌘Z, Ctrl+Z / Ctrl+Y).
- Preferences page and app menus. App-wide settings have their own Preferences page (⌘, / Ctrl+,). There are full menus with the usual shortcuts: New ⌘N, Open ⌘O, Close Tab ⌘W, Save ⌘S, Export ⌘E, Find ⌘F, and Ctrl+Tab to switch tabs.
Improvements
- Settings survive updates and reinstalls. Older settings files are upgraded, never reset.
- The window reopens at the size and position you left it, maximized or not.
- Quitting with unsaved changes asks once, listing the projects. This now includes Cmd+Q.
- Cell suggestions use whichever AI provider is active.
- The local Qwen models follow your custom instructions too. TranslateGemma keeps its fixed prompt, and Settings says so.
Bug fixes
- Cmd+Q no longer quits without saving or asking.
- The row ⋯ menu no longer opens behind the next row, and it now closes when you click elsewhere, press Escape or scroll.
Note on AI agents: Retrans gives an agent no file or terminal access of its own and refuses every permission it asks for. An agent's own built-in tools can still read files on your computer, so use agents you trust, and prefer an API provider for text from people you don't know.