Convert XLIFF to CSV

Turn XLIFF files into CSV. A CSV table for translators with the columns context, source, target, form, state, notes, comments and locations: one row per entry, a plural entry spread over rows numbered 0, 1, 2 in the form column, and the state translated, fuzzy or untranslated.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Translations in a table.One row per entry, with the source, the target and the state in columns.

  1. What you get

    A CSV file with the columns context, source, target, form, state, notes, comments and locations. Each entry in the XLIFF file becomes one row, so the translation sits in a table you can sort and filter.

    The state column holds translated, fuzzy or untranslated. Context is taken from the entry, but a numeric trans-unit id is not used as a context.

  2. Plural entries

    A plural entry is spread over several rows. The form column numbers them 0, 1, 2, so each plural form has its own row with its own target.

  3. What changes or is dropped

    Obsolete entries are dropped and do not appear in the CSV.

    Inline codes keep their text. Empty placeholders such as <x/> become their equiv-text. If a placeholder has no equiv-text, it is dropped.

XLIFF and CSV.What each format is.

The formats

From · 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
To · CSV

CSV

Rows of comma-separated values. The plainest way to move a table between programs.

Extensions
.csv
MIME type
text/csv
Kind
Text and data

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

terminal
$ cv convert report.xlf report.csv
$ cv convert report.xlf report.csv

Questions.What people ask about XLIFF to CSV.

01OF 04

It has context, source, target, form, state, notes, comments and locations. Each entry in the XLIFF file gives one row.

A plural entry takes several rows. The form column numbers them 0, 1, 2.

No. Obsolete entries are dropped and do not appear in the CSV.

An empty placeholder such as <x/> becomes its equiv-text. When it has no equiv-text, it is dropped.

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