Skip to content
Articles
Article

arb-lint: a linter and formatter for Flutter ARB localization files

by Abdeldjalil Chougui dev.to

5 min read

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 s…

Forum

Questions about this, or something to add?

Discuss on the forum

Topics Localization

Report this · Wrote this? Claim it

FlutterX is supported by