multilingo 1.1.1
multilingo: ^1.1.1 copied to clipboard
Automatic localization package for Flutter with CLI tool for generating translations using Free Translate API. Features type-safe keys, runtime locale switching, and beautiful terminal UI.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.1 - 2025-11-22 #
Added #
- Global Context Support: Added
Multilingo.navigatorKeyto enable context-less translations - Simplified Usage:
LocaleKeysnow return translated strings directly without needing.tr(context) - Multilingo Class: New class to manage global state and configuration
Changed #
- Updated
LocaleKeysgeneration to use static getters with internal.tr()call - Updated
String.tr()extension to try using global context if local context is not provided
1.1.0 - 2025-11-22 #
Fixed #
- CLI tool bug: Now generates
locale_keys.dartin user's projectlib/directory instead of packagelib/directory - LocaleKeys implementation: Changed from getters with
.tr()to const String values for better performance - String extension: Added
.tr(context)extension method toStringclass in main package
Changed #
- Updated example app to demonstrate proper
LocaleKeysusage with.tr(context)pattern - Updated README with correct usage examples showing
LocaleKeys.key.tr(context)pattern - Improved documentation for placeholder/dynamic text usage
1.0.2 - 2025-11-22 #
Added #
- LocaleKeys generation: CLI tool now generates
lib/locale_keys.dartwith type-safe translation keys - String extension
.tr()for easy translation access - Support for direct usage like
Text(LocaleKeys.appName)without context - Automatic camelCase conversion for property names
Changed #
- Updated README with CLI tool usage and LocaleKeys examples
- Improved documentation with type-safe key usage
1.0.1 - 2025-11-22 #
1.0.0 - 2025-11-21 #
Added #
- Initial release of Multilingo
AppLocalizationsclass for loading and accessing translationsFlutterAutoL10nutility for programmatic translation generation- Support for 40+ languages via Free Translate API
- Automatic fallback to English if translation file not found
- Retry logic for API calls
- Progress callbacks for translation generation
- Comprehensive documentation and examples
Features #
- 🌍 Automatic translation generation
- 🎯 Simple, intuitive API
- 🚀 Runtime locale switching
- 📦 Minimal dependencies
- 🆓 100% free - no API keys required