flutter_localisation 2.1.2 copy "flutter_localisation: ^2.1.2" to clipboard
flutter_localisation: ^2.1.2 copied to clipboard

A command-line tool for generating localization files for different flavors.

Changelog #

2.1.2 - 2025-12-06 #

Fixed #

  • Added missing flutter_localizations import in README documentation example
  • Updated version reference in README to ^2.1.1
  • Added // ignore_for_file: non_constant_identifier_names to generated code to suppress linting warnings

2.1.1 - 2025-12-01 #

Added #

  • Automatic cache invalidation after code generation
  • Automatic flutter pub get execution to refresh dependencies
  • Clear warning message about needing to fully restart the app

Changed #

  • CLI now automatically deletes .dart_tool/ directory and .flutter-plugins-dependencies after generation
  • Does NOT delete build/ folder to avoid slow rebuilds (users must fully restart app instead)
  • Simplified workflow - users only need to run flutter_localisation arbs <flavor> and fully restart their app
  • Updated documentation to emphasize the need for full app restart (not hot reload/restart)

Fixed #

  • Stale Dart analysis cache causing "method not found" errors on generated translation keys
  • Improved user experience by automating cache cleanup

1.0.0 - 2024-06-08 #

Added #

  • Initial release of flutter_localisation.
  • Script to generate localization files based on provided flavor.
  • Support for updating existing l10n.yaml with the correct flavor.
  • Error handling for missing flavors.
  • Automatic creation of l10n.yaml from scratch if it does not exist.
  • Logging of errors during file reading and writing.
  • Tests for various scenarios including:
    • Updating l10n.yaml with the correct flavor.
    • Logging an error if no flavor is provided.
    • Creating l10n.yaml from scratch if it does not exist.
    • Handling errors during file reading and writing.
    • Logging error if ARB directory does not exist.
  • Documentation for installation and usage.

1.0.1 #

  • Fixed Path issue.

1.0.2 #

  • use escaping.

1.0.3 #

  • Updated ReadMe & example app.

2.1.0 #

Added #

  • Automatic git pull before generating localization files.
  • Comprehensive dartdoc comments for public API.
  • Extensive test coverage with 60+ tests.

Changed #

  • Made initialize() optional for free users.
  • Improved code formatting and organization.

Fixed #

  • All linting issues for pub.dev compliance.
  • Git tracking cleanup.

2.0.0 #

  • Support Live update feature.
1
likes
140
points
221
downloads

Publisher

unverified uploader

Weekly Downloads

A command-line tool for generating localization files for different flavors.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

flutter, flutter_localizations, http, intl, logging, mockito, path, shared_preferences

More

Packages that depend on flutter_localisation