better_i18n 0.1.1 copy "better_i18n: ^0.1.1" to clipboard
better_i18n: ^0.1.1 copied to clipboard

Flutter SDK for better-i18n — runtime translation loading from CDN with offline fallback.

0.1.1 #

  • Fix: context.t() / translate() now resolves arbitrarily deep dot-paths against the nested CDN key format. Keys deeper than two segments (e.g. auth.welcome.title, served as {"auth": {"welcome": {"title": …}}}) previously returned the raw key; they now resolve correctly. The legacy single-split namespace lookup is kept as a fallback, so flat-in-namespace payloads continue to work unchanged.

0.1.0 #

  • Initial release
  • CDN-based runtime translation loading with 3-tier fallback (memory cache, CDN, persistent storage, static data)
  • BetterI18nProvider widget for easy setup
  • context.t() extension for Flutter-idiomatic translations
  • context.setI18nLocale() for runtime locale switching
  • SharedPrefsStorage for offline fallback persistence
  • Pluggable TranslationStorage interface
0
likes
150
points
469
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter SDK for better-i18n — runtime translation loading from CDN with offline fallback.

Homepage
Repository (GitHub)
View/report issues

Topics

#i18n #localization #translations

License

MIT (license)

Dependencies

flutter, http, shared_preferences

More

Packages that depend on better_i18n