PackageTrack
Sign in Get early access

remove_unused_localizations

A Dart package to clean unused localization keys from .arb files.

1.1.2 3.1K downloads/mo #4577 most downloaded on pub.dev OsamaAssaf/remove_unused_localizations

What this package is like to depend on

Last release 5 months ago

24 Mar 2026

Ships unpredictably

gaps range from 2 weeks to 11 months

Most releases are documented

notes for 8 of 11 stable releases

Nothing withdrawn

no release was ever pulled

1 years old

11 releases · first in 2025

5 releases in the last 12 months

see the full history below

Release timeline

11 releases · Mar 2025 to Mar 2026
2026
Release Pre-release

Releases

latest 11
  1. 1.1.2 24 Mar 2026
    Release notes
    • Update README to reflect version bump of remove_unused_localizations to 1.1.2 in pubspec.yaml
    Open source →
  2. 1.1.1 18 Mar 2026
    Release notes
    • Breaking: Converted from Flutter package to pure Dart package. Removed Flutter SDK dependency; package now uses test and lints instead of flutter_test and flutter_lints.
    • Fixed: Plugin now correctly detects used localization keys in multi-line chained property access (e.g., context.l10n.key when split across lines).
    • Fixed: Improved regex to allow optional whitespace around dots in chained access patterns.
    • Fixed: Refined method-call pattern for more accurate detection of SomeClass.method().key usage.
    Open source →
  3. 1.1.0 08 Mar 2026
    Release notes
    • New: Add optional remove_unused_localizations.yaml config file to specify custom directories to scan for Dart files.
    • 📂 Supports monorepos, shared packages, and projects with Dart code outside lib.
    • ⚙️ New dart-scan-dirs option: list of directories to scan (paths relative to project root).
    • 🔄 Defaults to lib when config is absent for backward compatibility.
    • 📝 Updated README with Configuration section and note about syncing with l10n.yaml.
    Open source →
  4. 1.0.3 08 Mar 2026

    Nothing published for this version

  5. 1.0.2 03 Mar 2026
    Release notes
    • 🐛 Fixed: Plugin no longer incorrectly removes used translations when localization keys are accessed across multiple lines (e.g., AppLocalizations.of(context)!.\n key).
    • 🔍 Detection regex now allows optional whitespace and newlines between the accessor and the key.
    • 🐛 Fixed: Plugin now detects AppLocalizations.of(Get.context!)!.key (GetX).
    • 🐛 Fixed: Plugin now detects null-aware access (variable?.key, variable?.method(param)).
    • 🐛 Fixed: Plugin now detects method calls with parameters (e.g., key(type.name), key(e.toString())).
    • 🐛 Fixed: Plugin now detects AppLocalizations.of(Get.context!,\n)!.key (formatted multi-line with trailing comma).
    Open source →
  6. 1.0.1 07 Apr 2025
    Release notes
    • 📝 Updated README.md with detailed usage instructions, examples, and feature descriptions.
    • ✅ Improved overall clarity for installation and usage on pub.dev.
    Open source →
  7. 1.0.0 07 Apr 2025
    Release notes
    • 🏁 Stable release — officially moved to version 1.0.0.
    • 🚀 Improved performance: Faster scanning of .arb and Dart files.
    • 🔒 Safer file handling: Improved exclusion logic for critical files.
    • 🧠 Smarter key detection: Better regex accuracy for detecting used localization keys.
    • 📦 Improved CLI structure: Now works properly as a CLI tool and prints output to the terminal.
    • 🧪 General refactoring and stability improvements.
    Open source →
  8. 0.0.4 20 Mar 2025
    Release notes
    • 🎉 Add new feature to not automatically remove unused localization keys from lib folder (If needed).
    Open source →
  9. 0.0.3 04 Mar 2025

    Nothing published for this version

  10. 0.0.2 04 Mar 2025

    Nothing published for this version

  11. 0.0.1 04 Mar 2025
    Release notes
    • 🎉 First version of remove_unused_localizations.
    • 🛠 Automatically detects and removes unused localization keys.
    • 🚀 Supports all .arb files dynamically.
    • 🔍 Excludes important localization files to prevent accidental deletions.
    • 📊 Provides detailed output on removed keys.
    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