Offline command line translation with TranslateGemma + Ollama

201 · Evan Hahn · May 1, 2026, 2:20 p.m.
Summary
Evan Hahn shares his experience building an offline command line translation tool using Deno, TranslateGemma, and Ollama. The post includes a pseudocode example and source code, detailing how it detects language and translates text based on the user's system language. The author emphasizes the tool's privacy and utility, filling a niche he found unmet in existing solutions.