Convert XLIFF2 to RESX
Turn XLIFF2 files into RESX. A .NET RESX file with one data element per entry, named by the context or else the source text, with the notes as its comment.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop XLIFF2 files on the dialor turn it to pick what to do
Translation units as RESX entries.Each entry becomes one named data element with its notes as a comment.
What you get
One RESX file with one data element for each entry in the XLIFF 2.0 file. Each element is named by the entry's context. If there is no context, it is named by the source text. The notes of the entry become its comment.
A numeric unit id is not taken as a context, so an entry with only a number as its id is named by its source text instead.
Which text is kept
A translated entry keeps its translation, and its source text is dropped. An entry without a finished translation keeps its source text instead.
The segments of a unit are joined into one string. Inline codes keep their text. Placeholders such as
<ph/>become their display text.What it leaves behind
Plural entries keep only their first form. The other forms are not written.
Translator comments and source references are dropped. Only the notes carry over, as the comment of each data element.
XLIFF2 and RESX.What each format is.
The formats
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
.NET RESX
.NET resource files with named strings and their comments.
- Extensions
- .resx .resw
- MIME type
- application
/x -resx +xml - Kind
- Text and data
In your code.The same XLIFF2 to RESX conversion through the API, for your app or your agent.
$ cv convert report.xlf report.resx$ cv convert report.xlf report.resxQuestions.What people ask about XLIFF2 to RESX.
The context of the entry names it. If there is no context, the source text is used. A numeric unit id is never used as a context.
They keep their source text in the RESX file. Only entries with a finished translation use the translation.
No. For translated entries, the source text is dropped and only the translation is written.
Only the first form is kept. The other plural forms are left out of the RESX file.