localingo 1.1.0
localingo: ^1.1.0 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.0 - 2026-01-03 #
Added #
- Batch Translation: Optimized AI translation by grouping items, making generation up to 10x faster.
- Technical Dictionary: Added pre-defined translations for mobile development terms (Arabic & Spanish).
- Placeholder Protection: Secured
{variable}tags during translation to prevent corruption. - Nested JSON Support: Now supports organizing translation keys in nested objects while maintaining type-safety.
- Type-Safe Arguments: Automatically generates methods for keys with placeholders (e.g.,
LocaleKeys.welcome(name: 'John')). - Brand Protection: Terms like "Flutter", "Firebase", and "Dart" are now preserved during translation.
- Flatten/Unflatten Logic: Improved handling of complex JSON structures.
Improved #
- Error Handling: Added exponential backoff and automatic retries for more reliable translations.
- CLI Experience: Enhanced terminal output with better progress tracking and summary.
- Type-Safety: Refined
LocaleKeysgeneration for better IDE support.