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 https://crowdin.com/translate/demo/4146/en-fr 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)?
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.
The solution is quite simple:
It seems that CT exports this file "as is", only with this addition inside the tag mentioned above:
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?
Recognition of the .xliff extension and display of the notes in such files will be part of the next update.
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!
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?