android status: released · v2025

LocalAI Translator

Offline AI translator for Android. On-device translation in 50+ languages using Google Gemma. No internet, no servers, complete privacy.

$ specsheet localai-translator

role
Solo developer
year
2025
platforms
Android 12+
stack
Android · Kotlin · Google Gemma 3 · on-device ML
status
released

LocalAI Translator is an offline AI translation app for Android 12+ that runs Google’s Gemma 3 model entirely on-device, with no network calls during translation. It covers 50+ languages across text, OCR (image-to-text), and speech input, using the device GPU for inference.

Problem

Cloud-based translation services send every word you translate to remote servers. For sensitive content (medical records, legal documents, personal messages) this is a fundamental privacy problem. Existing offline tools relied on outdated statistical models with poor accuracy.

Solution

LocalAI Translator runs entirely on-device using Google’s Gemma 3 language model. No network calls are made during translation. The app supports 50+ languages with high accuracy for both text and OCR (image-to-text) translation, plus speech input.

The AI model runs locally (either the E2B 3.2 GB or E4B 4.3 GB variant), leveraging the device GPU for fast inference.

Engineering Highlights

  • On-device inference: Full Gemma 3 model loaded and executed locally using Android ML APIs and GPU delegation.
  • Memory management: Efficient handling of large model files (3–4 GB) without crashing on target hardware.
  • OCR pipeline: Image capture → text extraction → in-model translation, all offline.
  • Audio input: Speech recognition connected to the translation pipeline, fully local.
  • 11 UI languages: Localized interface in EN, RU, ES, ZH-CN, DE, FR, NL, JA, KO, PT-BR, TH.

Platform Constraints

Android 12+ is required for the ML acceleration APIs used. Minimum hardware: 4 GB RAM and 8 GB free storage. The app handles graceful degradation for devices below threshold and provides clear onboarding for first-time model download.

Outcome

A zero-compromise privacy translator that delivers competitive accuracy for users who cannot or will not send content to cloud services. Available on Google Play.

$ open ./screenshots

Screenshots

Translation screen with source text and local AI output in LocalAI Translator
OCR translation workflow converting an image into translated text on Android
Language selection and translation controls in LocalAI Translator
LocalAI Translator settings and model configuration on Android
cd ../ back to projects