PackageTrack
Sign in Get early access

ai_smart_translate

AI-powered Flutter translation package with automatic fallback across multiple free AI providers (Gemini, Groq, OpenRouter). Supports offline caching, .tr extension, and zero JSON maintenance.

1.1.0 vishalwork/ai_smart_translate

What this package is like to depend on

Last release 4 months ago

11 Apr 2026

Too new to tell

only 2 release windows

Nearly every release is documented

notes for 5 of 5 stable releases

Nothing withdrawn

no release was ever pulled

5 months old

5 releases · first in 2026

5 releases in the last 12 months

see the full history below

Release timeline

5 releases · Mar 2026 to Apr 2026
Release Pre-release

Releases

latest 5
  1. 1.1.0 11 Apr 2026
    Release notes
    • Auto fallback — Groq → OpenRouter → Gemini → Google Translate
    • Custom order — define your own provider priority via providers list
    • Custom models — override default model per provider
    • Custom providers — plug in any OpenAI-compatible endpoint
    • Offline cache — SQLite (mobile/desktop), SharedPreferences (web), translate once, use forever
    • Web + Desktop support — works on Android, iOS, Web, Linux, Windows, macOS
    Open source →
    Release notes
    • Web support — WebCacheBackend added using SharedPreferences (IndexedDB on web)
    • Linux / Windows / macOS desktop support — SqfliteCacheBackend now uses sqflite_common_ffi on desktop platforms
    • TranslationCacheBackend abstract class exported — implement custom storage backend
    • cacheBackend parameter added to AiSmartTranslate.init() for custom backend injection
    • No migration required — existing Android/iOS users unaffected, same SQLite DB and schema
    • ProviderConfig class added — define provider order and models via providers list in init()
    • Custom provider support — plug in any OpenAI-compatible endpoint via ProviderConfig.custom
    • Model override — ProviderConfig.groq and ProviderConfig.openRouter now accept a model parameter
    • Default fallback order changed: Groq → OpenRouter → Gemini → Google Translate (Gemini moved to 3rd)
    • Mistral provider removed
    • Improved error logging — Gemini 429 response body now logged for easier debugging
    Open source →
  2. 1.0.3 07 Apr 2026
    Release notes

    1.0.3

    • dont parameter added to trOf, trContentOf — preserves specified substrings (names, dates, etc.) from being translated
    • trWith(dont: [...]) method added as context-free alternative to .tr getter with skip support
    • trContentWith(dont: [...]) method added as context-free alternative to .trContent getter with skip support
    Open source →
    Release notes
    • dont parameter added to trOf, trContentOf — preserves specified substrings (names, dates, etc.) from being translated
    • trWith(dont: [...]) method added as context-free alternative to .tr getter with skip support
    • trContentWith(dont: [...]) method added as context-free alternative to .trContent getter with skip support
    Open source →
  3. 1.0.2 25 Mar 2026
    Release notes
    • Minor improvement and code fixes
    Open source →
  4. 1.0.1 25 Mar 2026
    Release notes
    • Minor improvement and code fixes
    • trContent / trContentOf(context) for runtime translation
    Open source →
    Release notes
    • Google Cloud Translate API added as fallback option
    • Minor improvement and code fixes
    • trContent / trContentOf(context) for runtime translation
    Open source →
  5. 1.0.0 25 Mar 2026
    Release notes
    • Initial release
    • .tr String extension with debounced batch queue
    • AI provider chain: Gemini, Groq, OpenRouter
    • Auto fallback on rate-limit (429)
    • SQLite offline cache
    • TranslationScope widget for automatic UI rebuilds
    • AiSmartTranslate facade for easy access
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive