localization_by_muz 1.0.4
localization_by_muz: ^1.0.4 copied to clipboard
A simple Flutter package for easy localization with inline text support and JSON-based translations
1.0.4 #
- Add number and date formatting helpers with optional
intlintegration - Add namespaces and dotted keys support for nested JSON structures
- Add new
FormattingHelpersclass with methods for numbers, currency, percentages, dates, and times - Add support for accessing nested keys using dot notation (e.g.,
user.profile.name) - Add enhanced example app with formatting demo screen
- Fix
MissingKeyDebugOverlayDirectionality widget error - Update documentation with comprehensive examples for new features
- Maintain backward compatibility with existing flat key structures
1.0.3 #
- Add missing key diagnostics with configurable logging and debug overlay
- Implement hot-reload translations in debug mode for faster development
- Add
enableMissingKeyLoggingandonMissingKeycallback to LocalizationProvider - Add
showDebugOverlayoption to display missing keys visually - Add
enableHotReloadoption for automatic translation reloading in debug mode - Comprehensive test coverage for new diagnostic and hot-reload features
- Update documentation and example app to demonstrate new features
1.0.2 #
- Bump package version to 1.0.2
- README: update dependency example to ^1.0.2
- Example: update About screen version text to v1.0.2
1.0.1 #
- Bump package version to 1.0.1
- README: add SVG banner, author section (GitHub: @muzzammil763), and closing tagline
- Docs: clarify JSON asset path and setup for
lib/localization.json - Example: update About screen version text to
v1.0.1
1.0.0 #
- Initial stable release
- Inline localization via
String.localize([Map<String, String>? translations]) - JSON-based localization read from
lib/localization.json - Widgets:
LocalizationProvider,LocalizedText,LocalizedBuilder - Instant language switching with
LocalizationProvider.setLocale(context, locale) - Fallback behavior when translation key/locale is missing
- Example app and comprehensive tests