🈳 Offline Translator

A Flutter package for completely offline translation β€” no internet, no external files, fully self-contained.

Flutter Dart Platforms Android

πŸš€ Features

  • Offline translations: Works without internet.
  • Multiple languages supported: English, French, Spanish, Urdu, Arabic, Chinese (en, fr, es, ur, ar, zh).
  • No extra files required: JSON/ARB-free.
  • Easy integration: Works like Flutter’s Text() widget.
  • Lightweight, fast, and reliable.

🎯 Getting Started

1️⃣ Add Dependency

dependencies: offline_translator: ^0.0.1

2️⃣ Initialize Translator

Demo

3️⃣ Wrap App with Provider

Demo

usage dynamically

Demo

πŸ’‘ Key Advantages

  • Dynamic placeholders: Easily replace text like "Welcome {name}".
  • Offline-first: Ideal for apps with no internet connectivity.
  • android & iOS: Works on android & iOS 16+ and all Flutter-supported platforms.
  • Self Storage: It includes self contained cache for storing.

πŸ† Why Choose Offline Translator?

βœ… No network dependency
βœ… For dynamic data/text
βœ… Multi-language support
βœ… Fast, lightweight, and simple API
βœ… Perfect for mobile apps requiring offline capabilities

Supported Languages:

Language Code Flag
English en πŸ‡ΊπŸ‡Έ
French fr πŸ‡«πŸ‡·
Spanish es πŸ‡ͺπŸ‡Έ
Urdu ur πŸ‡΅πŸ‡°
Arabic ar πŸ‡ΈπŸ‡¦
Chinese zh πŸ‡¨πŸ‡³

Note: we are adding more languages and working on performance and enhancement

Made with ❀️ by Ahmed Khushal Khan

Libraries

offline_translator