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 2026Releases
latest 18-
3.0.025 Feb 2026Release notes
Open source →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
Release notes
Open source →- Replaced map-based lookup with switch expression; removed L10nHelper and clearCache - remove any L10nHelper.clearCache() calls from your code.
-
-
2.3.324 Feb 2026Release notes
Open source →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
Release notes
Open source →-
- Fixed type safety (mapper closures, parseL10n casts, Function.apply argument) and updated documentation
-
2.3.224 Feb 2026Release notes
Open source →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
Release notes
Open source →-
- Fixed type safety (mapper closures, parseL10n casts) and updated documentation
-
2.3.121 Jan 2026Release notes
Open source →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
Release notes
Open source →- Fixed L10nHelper.parseL10n return type to be nullable (String?) when no fallback message is configured
-
2.3.021 Jan 2026Release notes
Open source →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
Release notes
Open source →- Performance: Implemented lazy-initialized caching for translation map lookups
- Added static cache to store localization maps per locale
- Eliminated map recreation on every
parseL10ncall (~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
errorsMinWithdrawtranslations) - Fixed analyzer dependency to use caret syntax (
^8.3.0instead of8.3.0)
- Fixed parameter mismatch in example ARB files (Arabic and German
- 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
- Reorganized documentation structure into subdirectories (
- CI/CD:
- Updated GitHub Actions workflows to use
CREDENTIAL_JSONfor 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
- Updated GitHub Actions workflows to use
- Developer Experience:
- Added comprehensive Makefile with formatting, analysis, and build runner commands
- Added
make build-runner,make build-watch,make build-clean,make gen-l10ncommands - Added
make format,make analyze,make test,make check,make preparecommands - Organized Makefile help into logical sections
- Dependencies:
- Updated minimum Dart SDK to 3.10.7
- Updated minimum Flutter SDK to 3.38.0
- Performance: Implemented lazy-initialized caching for translation map lookups
-
2.2.005 Aug 2025Release notes
Open source →What's Changed
- [Fix]: Update build dependency by @CaoGiaHieu-dev in #40
Full Changelog: 2.1.6...2.2.0
Release notes
Open source →- 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
-
2.1.607 Feb 2025Release notes
Open source → -
2.1.6-pre.201 Feb 2025 pre-release -
2.1.501 Feb 2025 -
2.1.320 Sep 2024Release notes
Open source →- Fixes bug with placeholder wrong formatting resulting to inconsistencies with placeholder and translation-key objects as mentioned here
-
2.1.208 Sep 2024Release notes
Open source →- Use dynamic import for
L10nMapperGeneratorin generatedAppLocalizationsMapper. Thanks to @SERDUN in PR-26
- Use dynamic import for
-
2.1.108 Sep 2024 -
2.1.018 Apr 2024 -
2.0.113 Apr 2024 -
2.0.013 Apr 2024Release notes
Open source →- Deprecated
l10n_mapper_annotationpackage previously required for annotation inapp_localization.dartfile - Refactored
l10n_mapper_generatorto remove dependency on annotation inapp_localization.dartfile - Removed related scripts required for annotating feature
l10n_mapper_generatorbuild configurations are now provided viabuild.yamlfile- Updated readme.
- Deprecated
-
1.3.316 Mar 2024Nothing published for this version
-
1.3.015 Jan 2024Release notes
Open source →- Implemented
translationconfiguration setup forgeneratorOptionsusingl10_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
generatorOptionspath toappLocalizationsto accurately indicate intention. - Updated readme.
- Implemented
-
1.0.018 Dec 2023Release notes
Open source →- Defined generator objects
- Implemented generator for
AppLocalizationsMapper - Implemented generator for
AppLocalizationsExtensionon build-context - Implemented the use of
config-optionsfromLocalizationMapperAnnotation - Implemented generator console application to support running commands via terminal