Flutter apps keep their translations in ARB files: one JSON file per language, with the English template on one side and app_ar.arb , app_fr.arb and the others next to it. flutter gen-l10n reads them and generates the Dart code. When a file is badly broken, gen-l10n refuses it and you fix it. That part is fine.
The trouble is everything gen-l10n accepts without a word. A key defined twice in the same file: JSON parsers keep the last one silently, and the first translation is gone. An Arabic message that is still the English text, because someone copied the template and forgot one line. A translation that renamed {user} to {usr} . An Arabic plural with only one and other , when Arabic needs six categories. A key that no Dart file has used for a year.
None of these fail the build. They show up later, as a wrong sentence on a user's screen.
arb-lint is a linter and formatter for ARB files.…