multi_i18n 0.0.2
multi_i18n: ^0.0.2 copied to clipboard
A Flutter package for managing multiple independent i18n translation contexts per package or module, without relying on flutter_i18n as a runtime dependency.
0.0.2 #
Changed #
- Removed
flutter_i18nruntime dependency — all loader, translator, and widget code is now bundled directly in this package. - Added direct dependencies:
rxdart,http,yaml,xml2json,toml,logging.
Added #
FlutterI18nclass andFlutterI18nDelegateare now included for drop-in compatibility with the originalflutter_i18nAPI.I18nTextandI18nPluralwidgets bundled in the package.- All translation loaders included:
FileTranslationLoader,NetworkFileTranslationLoader,NamespaceFileTranslationLoader,E2EFileTranslationLoader,LocalTranslationLoader. - All decode strategies included: JSON, YAML, XML, TOML.
0.0.1 #
Added #
- Initial release of
multi_i18n. - Support for isolated translation contexts (one per package/feature).
- Integration with
flutter_i18nloaders:FileTranslationLoader,NetworkFileTranslationLoader,NamespaceFileTranslationLoader, etc. - Convenience helpers:
translate()viaMultiI18nDelegatefor simple translations.plural()helper for pluralized translations.