FLUTTER ECOSYSTEM

translations_cleaner

Package to remove unused keys in arb files, across all translations

Latest version
0.2.0
30-day downloads
24.9K
Likes
41
Pub points
150

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

A Flutter/Dart package designed to clean up unused translation keys in ARB (App Resource Bundle) files across multiple language translations. It helps maintain a tidy and efficient localization workflow by identifying and removing keys that are no longer referenced in the codebase. Ideal for teams managing large-scale internationalized apps, it reduces clutter and prevents outdated translations from persisting. The tool runs as a command-line utility compatible with macOS, Windows, and Linux.

Use cases
  • Removing obsolete translation keys
  • Maintaining clean ARB files
  • Streamlining localization workflows
  • Preventing translation bloat
  • Automating cleanup in CI/CD pipelines
Key features
  • Scans all ARB files for unused keys
  • Supports multi-language ARB files
  • Command-line interface
  • Cross-platform compatibility
  • Integrates with Flutter projects
Suitable for
  • Flutter developers managing translations
  • Localization teams
  • CI/CD pipelines
  • Projects with frequent UI changes
  • Teams using ARB for internationalization
Considerations
  • Requires manual review before deletion
  • Does not handle dynamic keys
  • No GUI interface
  • Best used in development or staging
  • Backup ARB files before running
Supported platformsmacOSWindowsLinux

Install package

flutter pub add translations_cleaner

Categories

Source repository

Related projects