Convert ARB to XLIFF

Turn ARB files into XLIFF. An XLIFF 1.2 file for translation tools with one trans-unit per entry, the context as its resname, a plural entry as a group of trans-units, and each target's state as needs-translation, needs-review-translation for fuzzy, translated or final, with notes and source references.

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 tools.One trans-unit per entry, with the key as its context and the description as a note.

  1. What you get

    An XLIFF 1.2 file with one trans-unit for each entry in the ARB file. The message becomes the source text, and the key becomes the resname, so translators see which string they are working on.

    Descriptions from the ARB file become notes on the trans-units. Source references are kept too.

  2. How entries are written

    A plural entry becomes a group of trans-units instead of a single one. Other ICU plural and select messages stay as one text, so the message reads as it does in the ARB file.

    Each target carries a state. The state is needs-translation, needs-review-translation for fuzzy entries, translated or final.

  3. What it leaves behind

    Placeholder metadata is dropped. The placeholders themselves stay in the message text, but the extra details the ARB file holds about them are not copied to the XLIFF file.

ARB and XLIFF.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 · XLIFF

XLIFF 1.2

XLIFF 1.2, the XML exchange format of translation tools, with trans-units, states and notes.

Extensions
.xlf .xliff
MIME type
application/xliff+xml
Kind
Text and data

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

terminal
$ cv convert report.arb report.xlf
$ cv convert report.arb report.xlf

Questions.What people ask about ARB to XLIFF.

01OF 04

Yes. Descriptions become notes on the trans-units.

A plural entry becomes a group of trans-units. Other ICU plural and select messages stay as one text.

No. Placeholder metadata is dropped during the conversion.

XLIFF 1.2. The output is one file with the extension xlf or xliff.

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