Start a new topic

Crowdin xliff files

I have tried to open a xliff file exported from Crowdin but CafeTran failed to open it as a xlf file. It worked only after changing the extension to xlf.

Demo file can be downloaded at under the menu File>Download in Xliff 

A copy of the file is also attached. 

What did I do wrong, CafeTran opens the file with xlf extension but not xliff.

Moreover, is there a way to display the "notes" in that xliff file. I have tried also with Deja Vu X3, and the "notes" are displayed as source segment comments.

Does anyone have any experience with Crowdin projects? Do you think we can translate offline with all the resources (TMs, Terminology)?


(40.9 KB)

Ichiro knows how to handle Crowdin xliff files :)

I did not start working on Crowdin yet (hopefully a game translation will be the first), so I don't have more sample files yet. Hope, all notes are not prefilled by

Context: Context information appears here. Usually it is imported from source files but also can be edited right here or in project settings.

If this is the case, then I will have to find a solution to hide the Notes :)

Or, is there already a setting for it?



I was going to try changing the extension, editing the header and notes information but thanks Igor is speedy as usual :)

The best feature of CafeTran is its developer!


Recognition of the .xliff extension and display of the notes in such files will be part of the next update.


It seems that CT exports this file "as is", only with this addition inside the tag mentioned above:

tool-id="CafeTran" text:segment="51"

Selcuk, could you please be so kind and test if the fiel (renamed again to XLIFF) can be properly re-imported to Crowdin, if the string above needs to be removed or if the file is broken by any other reason?


The solution is quite simple:

  1. Open the file with an editor
  2. Replace <file id="4146" original="demo.po" source-language="en" target-language="fr" datatype="plaintext"> with <file id="4146" original="demo.po" source-language="en" target-language="fr" datatype="plaintext" tool-id="CafeTran"> (or simply add tool-id="CafeTran" inside this tag)
  3. Save the file as XLF
  4. Enjoy (maybe you should delete the parameter again after export)

As far as I know, CT does not support the ending XLIFF, but only XLF (and SDLXLIFF and MQXLIFF).

Concerning the notes, I first appended from="username" to any <note> tag, e.g.

<note> becomes >note from="username">. This does not do the trick. But if you copy the header from a CT file to this demo.xlf, the notes become visible (in other words: the magic is in the header).

But beware: Copying a header from any other file might break this demo.xlf. You must at least copy again the old header before delivering the file or reimporting it into any external system. Maybe it is the tool id (<tool tool-id="CafeTran" tool-name="CafeTran"/>), just test around a bit.


I also confirmed that this filed was opened only after the file extension was changed to xlf. But I don't know why this step is needed.

Let's wait for Igor's advice.



Login to post a comment