Localizely logo
  • Home
  • Getting started
  • How it works
  • Pricing
  • FAQ
Sign up

How to detect unused string keys in Flutter ARB files? 

Keeping code and translations tidy is essential for ensuring smooth development and localization processes. Unused translations in localization files can cause problems such as cluttered files, slower translation times, increased maintenance costs, and longer app loading times. Therefore, it's important to regularly review and remove any unused translations to avoid these problems.

One simple way to achieve this is by creating a command line program that lists all unused string keys in your Flutter project. An example code that can be used as a starting point in creating such a program is provided below.

Related Flutter internationalization questions:

Flutter internationalization tutorial:

Learn about internationalization in Flutter
Localizely logo
About
Free tools
Boring stuff
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
Newsletter
Copyrights 2026 © Localizely