offline_translator 0.0.3
offline_translator: ^0.0.3 copied to clipboard
A Flutter package for offline translation without any json or arb files.
π³ Offline Translator #
A Flutter package for completely offline translation β no internet, no external files, fully self-contained.
π 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 #
3οΈβ£ Wrap App with Provider #
usage dynamically #
π‘ 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