Convert ARB to XLIFF2

Turn ARB files into XLIFF2. An XLIFF 2.0 file with one unit per entry, the context as the unit's name, a plural entry as a group of units, and each segment's state as initial, translated or final, where a fuzzy translation is initial with the substate gettext:fuzzy, with notes, translator comments and source references as notes.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Translation files ready for exchange.Each entry in the ARB file becomes one unit in an XLIFF 2.0 file.

  1. What you get

    One XLIFF 2.0 file with one unit per entry. The message becomes the source text, and the key becomes the unit's name, so a translator sees the text with its context.

    Descriptions from the ARB file come across as notes. Translator comments and source references are kept as notes too.

  2. Plurals and states

    A plural entry becomes a group of units. Each segment gets a state of initial, translated or final. A fuzzy translation is marked initial with the substate gettext:fuzzy.

    ICU plural and select messages stay one text. They are not split into separate parts.

  3. What it leaves behind

    Placeholder metadata is dropped. The placeholders in the message text stay as they are written, but the extra details the ARB file holds about them do not appear in the XLIFF file.

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

XLIFF 2.0

XLIFF 2.0, the newer translation exchange format with units, segments and states.

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

In your code.The same ARB to XLIFF2 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 XLIFF2.

01OF 04

The key becomes the unit's name, which gives the context for the message. The message itself is the source text.

Yes. Descriptions come across as notes on the unit. Translator comments and source references are also kept as notes.

A plural entry becomes a group of units. The ICU plural or select message itself stays as one text.

No. Placeholder metadata is dropped in the conversion.

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