Convert XLIFF to STRINGS

Turn XLIFF files into STRINGS. An Apple .strings file in UTF-8 with one "key" = "value"; line per entry, keyed by the context or else the source text, with notes as comments.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A strings file for your iOS or macOS app.One line per entry, in UTF-8, taken from your XLIFF file.

  1. What you get

    An Apple .strings file in UTF-8 with one "key" = "value"; line per entry. Each entry is keyed by its context, or by the source text when there is no context. Notes become comments.

    The source text of translated entries is dropped, so the value on each line is the translation.

  2. What changes

    Entries without a finished translation keep their source text as the value. Plural entries keep their first form only.

    Inline codes keep their text. Empty placeholders such as <x/> become their equiv-text, and are dropped when they have none. A numeric trans-unit id is not taken as a context.

  3. What it leaves behind

    Translator comments and source references are dropped. Only notes are written, as comments.

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

Apple Strings

Localizable.strings files of iOS and macOS apps, one "key" = "value"; line per string.

Extensions
.strings
MIME type
text/x-apple-strings
Kind
Text and data

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

terminal
$ cv convert report.xlf report.strings
$ cv convert report.xlf report.strings

Questions.What people ask about XLIFF to STRINGS.

01OF 04

The context is used when there is one. Otherwise the key is the source text. A numeric trans-unit id is not used as a context.

They keep their source text as the value. Only entries with a finished translation get the translated text.

Only the first form of a plural entry is kept. The other forms are not written.

No. Translator comments and source references are dropped. Notes are kept as comments.

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