jaspr_localizations 1.0.0+beta.3 copy "jaspr_localizations: ^1.0.0+beta.3" to clipboard
jaspr_localizations: ^1.0.0+beta.3 copied to clipboard

Internationalization and localization support for Jaspr applications with ARB file generation.

1.0.0 #

  • Initial version with InheritedComponent-based LocaleProvider
  • Features:
    • Added Locale class with languageCode and optional countryCode
    • Locale.fromLanguageTag() factory for parsing language tags
    • Support for Set<Locale> in supportedLocales property
    • updateShouldNotify tracks both locale and supportedLocales changes
    • ARB File Support: Industry-standard Application Resource Bundle format
    • Code Generation: Automatic generation of type-safe localization classes
    • l10n.yaml Configuration: Similar to flutter_localizations setup
    • Build Runner Integration: Generate localization code with dart run build_runner build
    • Placeholder Support: Type-safe placeholders in messages (String, int, double, DateTime)
  • Breaking Changes:
    • LocaleProvider.of() now returns LocaleProvider instance instead of String
    • locale property is now a Locale object instead of String
    • supportedLocales is now Set<Locale> instead of Set<String>
    • Use locale.toLanguageTag() to get the string representation
    • Removed FlutterError in favor of assertions for cleaner Jaspr implementation
  • Added comprehensive tests for Locale and LocaleProvider functionality
  • Updated documentation and examples with ARB file generation guide
0
likes
155
points
0
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

Internationalization and localization support for Jaspr applications with ARB file generation.

Repository (GitHub)
View/report issues

Topics

#l10n #localization #translations #language #jaspr

Documentation

API reference

License

MIT (license)

Dependencies

build, glob, intl, jaspr, meta, path, universal_web, yaml

More

Packages that depend on jaspr_localizations