multi_i18n 0.0.2 copy "multi_i18n: ^0.0.2" to clipboard
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_i18n runtime dependency — all loader, translator, and widget code is now bundled directly in this package.
  • Added direct dependencies: rxdart, http, yaml, xml2json, toml, logging.

Added #

  • FlutterI18n class and FlutterI18nDelegate are now included for drop-in compatibility with the original flutter_i18n API.
  • I18nText and I18nPlural widgets 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_i18n loaders: FileTranslationLoader, NetworkFileTranslationLoader, NamespaceFileTranslationLoader, etc.
  • Convenience helpers:
    • translate() via MultiI18nDelegate for simple translations.
    • plural() helper for pluralized translations.
2
likes
140
points
105
downloads

Documentation

API reference

Publisher

verified publishervirnavi.com

Weekly Downloads

A Flutter package for managing multiple independent i18n translation contexts per package or module, without relying on flutter_i18n as a runtime dependency.

Repository (GitHub)
View/report issues

Topics

#i18n #localization #flutter

License

MIT (license)

Dependencies

flutter, http, logging, rxdart, toml, xml2json, yaml

More

Packages that depend on multi_i18n