I can't convert files back to their native xliff format using Studio 2015's Generate Target Translations function

Dear SDL Studio 2015 users,

I am about to deliver a project which contains multiple xliff files.  When I used Generate Target Translations under Batch Tasks, Studio showed an error for each file with the following message:

Filter definition 'XLIFF 1.1-1.2 v 1.0.0.0 not found or could not be used to construct a generator'. 

I asked the other translator whom I worked with on this project to run the same batch task in her Studio 2011, and the error message she got is "sequence contains no elements".

Can someone tell me how do I solve this issue?  The client does not have Studio, so I think they need to have the files in xliff format.  Would it work if I simply remove the .sdlxliff file extensions for these files?

Thank you big times for your suggestions or solutions!!

Chunyi

Parents
  • Hi Chunyi,

    There seems to be a little confusion here.  So lets get things straight from the start.  When you open a file for translation in Studio it becomes an SDLXLIFF.  So if it's a DOCX it becomes ...DOCX.SDLXLIFF, Excel becomes ...XLSX.SDLXLIFF and if the source file was XLIFF it becomes XLIFF.SDLXLIFF.

    XLIFF is treated no differently.  If you rename the SDLXLIFF file to XLIFF it will not be the original XLIFF it will still be an SDLXLIFF which is a valid XLIFF format, but it has custom extensions inside that Studio knows how to use.

    So when you save the target files for a customer you must always save the Target version to recreate the original source format from the SDLXLIFF.  So saving target from ...XLIFF.SDLXLIFF will result in an XLIFF format based on the original source.

    Now, if you use the Generate Target Translations batch task you will always get the appropriate source format containing the translated text, in your case the XLIFF.  If you use the Export Files batch task then you have a few options:

    Latest Bilingual and Current Version are essentially the same thing (I believe this was some forward thinking about version control that has not been implemented yet ;-)) and they will give you the SDLXLIFF.  The target version will give you the source format with target translation, so in your case the XLIFF. 

    Now we have that straight let's think about your message:

    Unknown said:
    Filter definition 'XLIFF 1.1-1.2 v 1.0.0.0 not found or could not be used to construct a generator'. 

    The current version in Studio 2015 is "XLIFF 1.1-1.2 v 2.0.0.0" which tells me that you are probably working with as Project Package that was created in an older version of Studio.  This means you cannot save the target files, or generate target files, or export files as the target version!  You can translate them and give them the SDLXLIFF back but they will need to recreate the XLIFF.  If they have you the SDLXLIFF files and not a Package then the same thing applies.

    Does this help?

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul,

    Thank you for all of the information. It is helpful, but I hope Studio can provide backward compatibility like MS Office does. If SDL thinks everyone should move with time and use the latest version, that is fine, but please don't give me the wrong impression by allowing me to open these xliff files and happily translate them in Studio, only to find out they can't be converted back to its original format the client requests.
    Fortunately I work with a colleague who uses Studio 2011. I will ask her to use the export batch task to convert these files as you suggested. Despite my ranting, I appreciate the suggestions you made. I am sure this exporting to target version will work. Thanks again for all of your kind help.

    Chunyi
  • Unknown said:
    but please don't give me the wrong impression by allowing me to open these xliff files and happily translate them in Studio, only to find out they can't be converted back to its original format the client requests.

    Hi Chunyi

    I think you know this as soon as you open them.  There is a message in the window to tell you this.  Studio is not MS Word, it's dealing with far more complexity than this in terms of filetype support so we do our best to always support SDLXLIFF but it's not always possible to maintain the ability to recreate the original file format from this.

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul,

    I have bad news. My colleague can't export nor save these files. The error message she received in her Studio 2011 is "sequence contains no elements".
    Since The client doesn't want to accept sdlxliff files as the final deliverables, is there any other method I can try to send them the files in the requested format?
    If I remember it correctly, I was able to generate the target translations in xliff format in Studio 2014. But I no longer have 2014 since I bought a new computer.
  • Hi Chunyi,

    That doesn't surprise me, I already confirmed this is a bug in 2011. If your client created the sdlxliff files they are probably aware of this already since it needed 2009 or 2011 to create the files in that version in the first place.

    Studio 2014 already uses the later version 2 so I doubt this would help you.

    I think, if your client wants the target files back then it seems quite reasonable for them to send you the original source files and then you can prepare them in 2015, pretranslate them and then save the target files for them. It should not matter where you translate them if they are only prepared to handle the target files.

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Paul, I think I may have found the cause. I created the project in Studio 2015 and my colleague created the project using 2011. So when she sent me the files for editing, I just replaced the target files with her 2011 files. This may be the reason for having difficulty exporting the files.
  • I confirmed that the issue was caused because my colleague and I used different versions of Studio to create the project and we mixed up the files during our translation-editing process. I just created a new project and imported the client's xliff files and was able to export back to xliff format.
Reply Children
No Data