Convert ARB to JSON

Turn ARB files into JSON. JSON for agents with the source and target languages and one object per entry holding its context, source and plural source, translation or plural forms, state, notes, comments, source references, flags and an obsolete mark.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop ARB files on the dialor turn it to pick what to do

Flutter strings, ready for translation.One JSON file with the source and target languages and one object per entry.

  1. What you get

    A single JSON file built for agents that translate text. It holds the source and target languages, then one object for each entry in the ARB file.

    Each entry carries its context, source text, plural source, translation or plural forms, state, notes, comments, source references, flags and an obsolete mark. The messages become the source text, and the keys become the contexts.

  2. How descriptions and messages change

    The descriptions in the ARB file become notes on their entries. They travel with the text they explain.

    ICU plural and select messages stay as one text. They are not split into separate forms. Placeholder metadata is dropped, so the details declared for each placeholder are not in the JSON.

ARB and JSON.What each format is.

The formats

From · ARB

Flutter ARB

Application Resource Bundle JSON of Flutter apps, with ICU messages and descriptions.

Extensions
.arb
MIME type
application/x-arb+json
Kind
Text and data
To · JSON

JSON

JSON, the data format of every API.

Extensions
.json
MIME type
application/json
Kind
Text and data

In your code.The same ARB to JSON conversion through the API, for your app or your agent.

terminal
$ cv convert report.arb report.json
$ cv convert report.arb report.json

Questions.What people ask about ARB to JSON.

01OF 04

They become the contexts. Each key is the context of its entry, and the message under it becomes the source text.

Descriptions become notes on the matching entries.

No. They stay as one text in the entry.

No. Placeholder metadata is dropped. The placeholders in the message text stay as part of the message.

More conversions.Other ways in and out of ARB and JSON.