bloom_i18n 0.2.1
bloom_i18n: ^0.2.1 copied to clipboard
Internationalization, locale resolution, ICU message formatting, and date localization for Bloom applications.
Changelog #
0.2.1 - 2026-08-25 #
Fixed #
- Bumped
bloom_serverdependency constraint from^0.1.0to^0.2.0— the stale constraint was incompatible with any sibling package (bloom_cache,bloom_admin) requiringbloom_server ^0.2.0, breakingpub getin any app combining them.
0.2.0 - 2026-08-23 #
Breaking #
- Now depends on
bloom_serverinstead ofbloom_framework. Imports change frompackage:bloom_framework/bloom_server.darttopackage:bloom_server/bloom_server.dart. - No longer requires Flutter. The package now resolves against the Flutter-free
bloom_servercore, so it can be used from a plaindart run/dart compilebackend.
0.1.0 #
- Initial release of
bloom_i18n. BloomCatalog: Single-locale message store with ICU MessageFormat-style argument interpolation, pluralization (=0,=1,zero,one,two,few,many,other, with#number replacement), and select/gender evaluation.BloomLocales: Multi-locale registry with fallback resolution (requested locale->language subtag->defaultLocale->default language subtag->messageId) and runtime message translation.BloomLocaleMiddleware: Bloom server middleware resolvingAccept-LanguageHTTP headers with quality-value weighting, query overrides (?locale=), and attachingResolvedLocaletoBloomRequest.localizedDateandlocalizedDateTime: Locale-aware date and time formatting powered bypackage:intl.