Application Resource Bundle
"@@locale": "es",
"welcome": "Hola, {name}",
// Metadata for the translator
"@welcome": {
"description": "Greeting at Home",
"placeholders": { "name": { "type": "String" } }
}
Global Locale
Defines the base language of the file.
The Key
Unique identifier of the resource.
The Value
Translatable content (ICU).
The Context
Additional attributes (@).
Created by Google in 2012 as a standard to simplify the flow between developers and professional translation agencies.
Unlike simple JSON, ARB supports the syntax of ICU Messages, allowing the same key to handle complex plurals and grammatical genders without cluttering the Dart code.
Easy to read for humans and machines.
Handles complex plurals, genders and formats.
Flutter generates typed Dart code automatically.
Compatible with external translation tools.