FLUTTER ECOSYSTEM

google_mlkit_translation

A Flutter plugin to use Google's ML Kit On-Device Translation to dynamically translate text between more than 50 languages.

Latest version
0.15.1
30-day downloads
30.9K
Likes
74
Pub points
150

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

The google_mlkit_translation package enables Flutter apps to perform on-device text translation across more than 50 languages using Google's ML Kit. It runs entirely on the device, ensuring privacy and low latency. The plugin supports real-time translation of text snippets with minimal setup, making it ideal for multilingual applications. It leverages machine learning models optimized for mobile performance, delivering accurate translations without requiring a network connection after initial model download.

Use cases
  • Real-time text translation in apps
  • Offline language support
  • Multilingual user interfaces
  • Travel or communication apps
  • Educational tools with language learning
Key features
  • On-device translation
  • Support for 50+ languages
  • Low-latency performance
  • Privacy-focused (no data sent to server)
  • Easy integration with Flutter
  • Automatic model downloading
Suitable for
  • Apps needing offline translation
  • Developers prioritizing user privacy
  • Mobile-first multilingual applications
  • Educational and travel apps
  • Fast, lightweight translation features
Considerations
  • Initial app size increases due to model downloads
  • Translation quality depends on model version
  • Limited to text-only translation (not speech or images)
  • Requires careful handling of model updates
  • Not suitable for very large text blocks
Supported platformsAndroidiOS

Install package

flutter pub add google_mlkit_translation

Categories

Dependencies

Dependency list 1 items

Source repository

Related projects