ARB Flutter
- Extension
- .arb
- Import
- yes
- Export
- yes
Application Resource Bundle (abbr. ARB) is a localization resource format that is simple (based on JSON), extensible (vocabulary can be added without affecting existing tools and usage), and directly usable (applications can access the resource directly from this format without converting to another form).
In ARB, localizable resources are encoded as a JSON object. Each resource will have a resource entry identified by resource key, and an optional resource attribute entry with resource attribute key.
ARB files are used to localize apps built with Google's Mobile App SDK called Flutter.
Documentation
Official ARB Documentation
Official Flutter Localization Documentation
Example
Download the example file{ "@@locale": "en", "@@author": "localizify.com", "BAR_231": "images/image_bar.jpg", "@BAR_231": { "type": "image", "context": "HomePage:MainPanel", "description": "brand image", "screen": "file://screenshot/welcome_page.jpg", "video": "http://www.youtube.com/user_interaction.mp4" }, "FOO_123": "Your pending cost is {COST}", "@FOO_123": { "type": "text", "context": "HomePage:MainPanel", "description": "balance statement.", "source_text": "Your pending cost is {COST}", "placeholders": { "COST": { "example": "$123.45", "description": "cost presented with currency symbol" } }, "screen": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///+l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC", "video": "http://www.youtube.com/ajigliech" }, "FOOTER_STYLE": "#footer:{font-family: arial}", "@FOOTER_STYLE": { "context": "HomePage" }, "MSG_OK": "Everything works fine.", "@MSG_OK": { "context": "HomePage" }, "title_bar": "My Cool Home", "@title_bar": { "type": "text", "context": "HomePage", "description": "Page title." } }