Convert CSV to XLIFF2

Turn CSV 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 CSV files on the dialor turn it to pick what to do

A translation file built from a table.One XLIFF 2.0 file with a unit for each entry.

  1. What you get

    An XLIFF 2.0 file with one unit per entry. The context becomes the unit's name, and a plural entry becomes a group of units.

    Each segment carries a state: initial, translated or final. A fuzzy translation is initial with the substate gettext:fuzzy.

  2. Notes and references

    Notes, translator comments and source references are kept as notes on the unit, so the context around an entry travels with it.

  3. What is left out

    The table names no language, so the language is left empty. Fill it in once the file is in your translation tool.

    A plural rule is set only for entries with one or two forms. Entries with more forms get no plural rule.

    Obsolete entries are dropped and do not appear in the XLIFF file.

CSV and XLIFF2.What each format is.

The formats

From · 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
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 CSV to XLIFF2 conversion through the API, for your app or your agent.

terminal
$ cv convert sheet.csv sheet.xlf
$ cv convert sheet.csv sheet.xlf

Questions.What people ask about CSV to XLIFF2.

01OF 04

No. The table names no language, so the language is left empty.

A plural entry becomes a group of units. A plural rule is set only when the entry has one or two forms.

They are written as initial with the substate gettext:fuzzy.

No. Obsolete entries are dropped from the output.

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