arb
What is a .arb file?
application/json
An ARB file (.arb, Application Resource Bundle) is a JSON-based localization format used by Flutter and Google tools. Alongside each key's translated string it stores metadata in a matching @key object — a description and typed placeholders — and uses ICU message syntax with {name} placeholders and plural/select rules.
How to use a .arb file
Use an example .arb file to test Flutter's gen-l10n pipeline, ARB editors and converters, and ICU message-syntax parsers, or to exercise placeholder and plural handling.
Download example .arb files
- Flutter ARB — EnglishA Flutter Application Resource Bundle (English) — JSON messages with matching @key metadata (descriptions and typed placeholders) using ICU {name} syntax, as Flutter's gen-l10n consumes.
- Flutter ARB — SpanishThe Spanish twin of the Flutter ARB bundle — for testing ARB parsers, the gen-l10n pipeline, and ICU placeholder handling.
- Flutter ARB — ICU plurals and typed placeholders (English)A English ARB whose plural messages carry an ICU branch for each of the 2 categories en selects, plus a select message and a summary line with typed placeholders — int with compactLong, and a DateTime with a yMMMd format — which is what makes gen_l10n emit a typed Dart method rather than a plain string.
- Flutter ARB — ICU plurals and typed placeholders (Arabic)A Arabic ARB whose plural messages carry an ICU branch for each of the 6 categories ar selects, plus a select message and a summary line with typed placeholders — int with compactLong, and a DateTime with a yMMMd format — which is what makes gen_l10n emit a typed Dart method rather than a plain string.
- Flutter ARB — ICU plurals and typed placeholders (Polish)A Polish ARB whose plural messages carry an ICU branch for each of the 4 categories pl selects, plus a select message and a summary line with typed placeholders — int with compactLong, and a DateTime with a yMMMd format — which is what makes gen_l10n emit a typed Dart method rather than a plain string.
- Flutter ARB — ICU plurals and typed placeholders (Welsh)A Welsh ARB whose plural messages carry an ICU branch for each of the 6 categories cy selects, plus a select message and a summary line with typed placeholders — int with compactLong, and a DateTime with a yMMMd format — which is what makes gen_l10n emit a typed Dart method rather than a plain string.