A desktop application for translating documents locally with Ollama. Document content stays on your computer and the original file is never modified.
Supported files: DOCX, PPTX, XLSX, Markdown, and UTF-8 TXT. PDF and OCR are not supported.
- Ollama
- The
translategemma:4bmodel described below
Building from source also requires:
- Node.js
20.19+or22.12+ - Rust
1.88+ - Tauri 2 prerequisites for your operating system
Install and start Ollama. If it is not already running, use:
ollama serveIn another terminal, download Gemma 3 4B and create the model name used by this project:
https://ollama.com/library/translategemma
ollama pull translategemma:latest
ollama listOllama must be available at:
http://localhost:11434
Open a terminal in the project directory:
npm ci
npm run tauri devThe Tauri desktop application will open automatically. npm run dev is the shorter equivalent command.
- Confirm that the header shows Ollama connected.
- Select a supported document.
- Choose the source and target languages.
- Select
translategemma:4b. - Choose an output folder.
- Click Start translation.
The output file includes the target language code. For example:
document.docx -> document_en.docx
Existing output files are not overwritten.
Install all dependencies, run the quality checks, and create a release build:
npm ci
npm run check
npm run tauri buildnpm run build is the shorter equivalent of npm run tauri build.
Build artifacts are written to:
src-tauri/target/release/bundle/
On Windows, the installers are normally created in:
src-tauri/target/release/bundle/msi/*.msi
src-tauri/target/release/bundle/nsis/*-setup.exe
The first release build can take several minutes because Rust dependencies must be compiled.
If Ollama is not detected, confirm that it is running and that the model exists:
ollama listThe list must contain translategemma:4b. If it does not, repeat the commands in Set up Ollama, then click Check in the application.
For format-specific restrictions, see Known limitations.
