PackageTrack
Sign in Get early access

l10n_mapper_generator

A dart package to generate localization-mapper to support parsing dynamic translation keys (as flutter-localizations package does not yet support this).

3.0.0 2.9K downloads/mo #4703 most downloaded on pub.dev kwado-tech/l10n_mapper

What this package is like to depend on

Last release 6 months ago

25 Feb 2026

Release timing varies

gaps range from 2 weeks to 6 months

Nearly every release is documented

notes for 16 of 17 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

18 releases · first in 2023

5 releases in the last 12 months

see the full history below

Release timeline

18 releases · Dec 2023 to Feb 2026
2024 2025 2026
Release Pre-release

Releases

latest 18
  1. 3.0.0 25 Feb 2026
    Release notes

    Changes

      • Replaced map-based lookup with switch expression; removed L10nHelper and clearCache - remove any L10nHelper.clearCache() calls from your code.

    Installation

    dependencies:
      l10n_mapper_generator: ^3.0.0

    Pub.dev

    https://pub.dev/packages/l10n_mapper_generator/versions/3.0.0

    Open source →
    Release notes
    • Replaced map-based lookup with switch expression; removed L10nHelper and clearCache - remove any L10nHelper.clearCache() calls from your code.
    Open source →
  2. 2.3.3 24 Feb 2026
    Release notes

    Changes

    • Fixed type safety (mapper closures, parseL10n casts, Function.apply argument) and updated documentation

    Installation

    dependencies:
      l10n_mapper_generator: ^2.3.3

    Pub.dev

    https://pub.dev/packages/l10n_mapper_generator/versions/2.3.3

    Open source →
    Release notes
      • Fixed type safety (mapper closures, parseL10n casts, Function.apply argument) and updated documentation
    Open source →
  3. 2.3.2 24 Feb 2026
    Release notes

    Changes

    • Fixed type safety (mapper closures, parseL10n casts) and updated documentation

    Installation

    dependencies:
      l10n_mapper_generator: ^2.3.2

    Pub.dev

    https://pub.dev/packages/l10n_mapper_generator/versions/2.3.2

    Open source →
    Release notes
      • Fixed type safety (mapper closures, parseL10n casts) and updated documentation
    Open source →
  4. 2.3.1 21 Jan 2026
    Release notes

    Changes

    Fixed L10nHelper.parseL10n return type to be nullable (String?) when no fallback message is configured

    Installation

    dependencies:
      l10n_mapper_generator: ^2.3.1

    Pub.dev

    https://pub.dev/packages/l10n_mapper_generator/versions/2.3.1

    Open source →
    Release notes
    • Fixed L10nHelper.parseL10n return type to be nullable (String?) when no fallback message is configured
    Open source →
  5. 2.3.0 21 Jan 2026
    Release notes

    Changes

    Performance improvements with lazy-initialized caching (~2,400x faster lookups). Documentation reorganized into subdirectories. Updated SDK requirements to Dart 3.10.7 and Flutter 3.38.0. Fixed ARB file parameter mismatches. Updated CI/CD workflows to use CREDENTIAL_JSON.

    Installation

    dependencies:
      l10n_mapper_generator: ^2.3.0

    Pub.dev

    https://pub.dev/packages/l10n_mapper_generator/versions/2.3.0

    Open source →
    Release notes
    • Performance: Implemented lazy-initialized caching for translation map lookups
      • Added static cache to store localization maps per locale
      • Eliminated map recreation on every parseL10n call (~2,400x faster for large translation sets)
      • Reduced memory allocations and GC pressure significantly
      • Added L10nHelper.clearCache() method for cache management
      • Zero configuration required - automatic performance optimization
    • Bug Fixes:
      • Fixed parameter mismatch in example ARB files (Arabic and German errorsMinWithdraw translations)
      • Fixed analyzer dependency to use caret syntax (^8.3.0 instead of 8.3.0)
    • Documentation:
      • Reorganized documentation structure into subdirectories (getting-started/, migration/, technical/)
      • Added README files for each documentation subdirectory
      • Updated all internal documentation links
      • Cleaned up root directory structure
    • CI/CD:
      • Updated GitHub Actions workflows to use CREDENTIAL_JSON for pub.dev authentication
      • Disabled automatic trigger for release-please workflow (manual dispatch only)
      • Updated workflows to use k-paxian/[email protected]
      • Commented out format check and tests in release workflow for flexibility
    • Developer Experience:
      • Added comprehensive Makefile with formatting, analysis, and build runner commands
      • Added make build-runner, make build-watch, make build-clean, make gen-l10n commands
      • Added make format, make analyze, make test, make check, make prepare commands
      • Organized Makefile help into logical sections
    • Dependencies:
      • Updated minimum Dart SDK to 3.10.7
      • Updated minimum Flutter SDK to 3.38.0
    Open source →
  6. 2.2.0 05 Aug 2025
    Release notes

    What's Changed

    Full Changelog: 2.1.6...2.2.0

    Open source →
    Release notes
    • Update build dependency :
      • build: ^2.4.2 -> ^3.0.0
      • build: ^2.4.14 -> ^2.6.0
      • source_gen: ^2.0.0 -> ^3.0.0
      • flutter_lints: ^5.0.0 -> ^6.0.0
    Open source →
  7. 2.1.6 07 Feb 2025
    Release notes

    What's Changed

    • support multiple translation files by @rp84e in #38

    Full Changelog: 2.1.5...2.1.6

    Open source →
  8. 2.1.6-pre.2 01 Feb 2025 pre-release
    Release notes Open source →
    Release notes
    • Create pub workflow to publish package to pub.dev
    Open source →
  9. 2.1.5 01 Feb 2025
    Release notes

    What's Changed

    New Contributors

    • @rp84e made their first contribution in #32

    Full Changelog: 2.1.4...2.1.5

    Open source →
    Release notes
    • Use AppLocalizations directly #31 by @rp84e in #32
    Open source →
  10. 2.1.3 20 Sep 2024
    Release notes
    • Fixes bug with placeholder wrong formatting resulting to inconsistencies with placeholder and translation-key objects as mentioned here
    Open source →
  11. 2.1.2 08 Sep 2024
    Release notes
    • Use dynamic import for L10nMapperGenerator in generated AppLocalizationsMapper. Thanks to @SERDUN in PR-26
    Open source →
  12. 2.1.1 08 Sep 2024
    Release notes
    • Fixes inconsistent formatting of placeholders
    • Updated readme
    Open source →
  13. 2.1.0 18 Apr 2024
    Release notes
    • Fixes readme issues
    • Changed generated file extension to .mapper.dart.
    Open source →
  14. 2.0.1 13 Apr 2024
    Release notes
    • Fixes analysis issues
    Open source →
  15. 2.0.0 13 Apr 2024
    Release notes
    • Deprecated l10n_mapper_annotation package previously required for annotation in app_localization.dart file
    • Refactored l10n_mapper_generator to remove dependency on annotation in app_localization.dart file
    • Removed related scripts required for annotating feature
    • l10n_mapper_generator build configurations are now provided via build.yaml file
    • Updated readme.
    Open source →
  16. 1.3.3 16 Mar 2024

    Nothing published for this version

  17. 1.3.0 15 Jan 2024
    Release notes
    • Implemented translation configuration setup for generatorOptions using l10_mapper.json. This configuration determines how generated methods account for nullability of translation-key (if translation-key was not found).
    • Refactor to update l10n_mapper.json config file generatorOptions path to appLocalizations to accurately indicate intention.
    • Updated readme.
    Open source →
  18. 1.0.0 18 Dec 2023
    Release notes
    • Defined generator objects
    • Implemented generator for AppLocalizationsMapper
    • Implemented generator for AppLocalizationsExtension on build-context
    • Implemented the use of config-options from LocalizationMapperAnnotation
    • Implemented generator console application to support running commands via terminal
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive