FLUTTER ECOSYSTEM

google_mlkit_language_id

A Flutter plugin to use Google's ML Kit Language Identification to determine the language of a string of text.

Latest version
0.15.1
30-day downloads
23.6K
Likes
21
Pub points
150

Package Overview

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

Overview

A Flutter plugin that leverages Google's ML Kit to identify the language of a given text string. It enables apps to automatically detect the language of user input, supporting multiple languages with high accuracy. Ideal for multilingual applications, it runs efficiently on-device, ensuring privacy and low latency. The plugin integrates seamlessly into Flutter projects and is compatible with Android and iOS platforms.

Use cases
  • Multilingual app content detection
  • Real-time text language identification
  • User input language auto-detection
  • Offline language recognition
  • Content filtering by language
  • Language-aware UI adaptation
Key features
  • On-device language detection
  • Support for multiple languages
  • Low-latency processing
  • Privacy-preserving offline operation
  • Seamless Flutter integration
  • High accuracy for common languages
Suitable for
  • Apps requiring multilingual support
  • Text analysis tools
  • Educational apps with language learning
  • Travel or translation apps
  • Applications handling diverse user inputs
Considerations
  • Limited to text language detection (not speech)
  • Accuracy may vary for rare or mixed languages
  • Requires proper permissions for device access
  • Best performance on supported devices
  • May have larger app size due to ML model inclusion
Supported platformsAndroidiOS

Install package

flutter pub add google_mlkit_language_id

Categories

Source repository

Related projects