ios & android status: released

Offline AI Translator & Chat

Offline AI translator and private AI chat for iPhone, iPad and Android. Translate text, images and speech in 50+ languages with Gemma 4 running on your device.

$ specsheet localai-translator

role
Solo developer
year
2025
platforms
iOS 18+ · Android 12+
stack
Swift · SwiftUI · Kotlin · Jetpack Compose · LiteRT-LM · Gemma 4
status
released

Offline AI Translator & Chat is a translator and private AI chat for iOS 18+ and Android 12+. It runs Google’s Gemma 4 models on the device through LiteRT-LM and covers 50+ languages across text, images (OCR) and speech. After the model download, the core workflows work offline.

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

The app runs Gemma 4 on the device. Prompts, OCR text, audio, images, translations and chats stay in local storage for the core workflows, and translating needs no network once a model is installed.

Both apps include a private AI chat on the same local model. On iOS, each text, image or audio result can continue into that chat.

You choose between two model tiers: Basic (about 2.6 to 3.2 GB) and Advanced (about 3.7 to 4.3 GB). The exact size depends on the platform and build.

Engineering Highlights

  • On-device inference: Gemma 4 .litertlm models run through LiteRT-LM on both platforms.
  • Model delivery: large downloads start only when you ask for them. On Android, WorkManager runs them in the background. On iOS, the app verifies checksums and activates an install atomically.
  • Memory management: careful handling of model files of about 3 to 4 GB on phones and tablets.
  • OCR pipeline: image capture, text extraction and translation all run on the device. iOS uses Apple Vision for OCR.
  • Speech input: iOS transcribes with on-device Apple Speech. Android uses the system speech recognizer with its offline mode preferred.
  • Diagnostics: crash diagnostics and anonymous product analytics exclude prompts, OCR text, audio, images and translations. The privacy policy describes both.

Platform Constraints

iOS 18+ on iPhone and iPad. Android 12+, with Android 13+ and 6 GB of RAM recommended. Minimum hardware: 4 GB RAM and 8 GB free storage. The Advanced model needs about 6 GB of RAM. The first model download needs a network connection.

Outcome

Available on the App Store and Google Play as a free download with optional Premium in-app purchases, for people who cannot or will not send content to cloud services.

$ open ./screenshots

Screenshots

A finished text translation with the Continue with AI option on iPhone
A translation result continuing into a private AI chat on iPhone
OCR translation workflow converting an image into translated text on Android
Audio Translator with a recorded clip and its translation prompt on Android
Recording speech in Audio Translator on Android
cd ../ back to projects