Exporting and Importing an interum working XLIFF file.

We have a scenario where we would like to process a document against a translation memory and then export anything below a user configurable match to an XLIFF file. This file would be sent to an external system, processed and then returned back with additional information embedded (i.e. target data).
We have not been able to find any API or sample code to save/load a working XLIFF. Can someone please advise on how this is possible?

Parents
  • You can use the Project Automation API to create a project and then add the file you file you want to the project. You can also add translation memories to that project and then run batch tasks against that project.

    Romulus Crisan | Translation Productivity Development Manager | SDL | (twitter) @cromica_82 | (blog) http://www.romuluscrisan.com/

  • Thanks for the reply. I should have been a little more clear on my goals. I am trying to address the following scenarios:

    Scenario 1
    1. User selects an option to launch the process
    2. TM match
    3. Export XLIFF with all segments included along with their fuzzy match scores. This should include any segments edited by the user (i.e. the current state of the segments)
    4. Process externally (i.e. MT system that I will code for that is currently not supported by SDL). This process needs to work all segments as part of a pre-translate stage.
    5. Import the resulting XLIFF updating the text in the target of the original document

    Scenario 2 (same as above but no TM match)
    1. User selects an option to launch the process
    2. Export XLIFF with all segments included along with their fuzzy match scores. This should include any segments edited by the user (i.e. the current state of the segments)
    3. Process externally (i.e. MT system that I will code for that is currently not supported by SDL). This process needs to work all segments as part of a pre-translate stage.
    4. Import the resulting XLIFF updating the text in the target of the original document

    We need to ship this out to many customers. This is different to other connectors for MT in that it is translating the full document as part of the pre-translate stage rather than segment by segment at a users request.

    Many thanks for any assistance it working out how to do this. Apologies for my limited knowledge of the SDL platform. Some of this may be more obvious to someone more experienced on the platform.
Reply
  • Thanks for the reply. I should have been a little more clear on my goals. I am trying to address the following scenarios:

    Scenario 1
    1. User selects an option to launch the process
    2. TM match
    3. Export XLIFF with all segments included along with their fuzzy match scores. This should include any segments edited by the user (i.e. the current state of the segments)
    4. Process externally (i.e. MT system that I will code for that is currently not supported by SDL). This process needs to work all segments as part of a pre-translate stage.
    5. Import the resulting XLIFF updating the text in the target of the original document

    Scenario 2 (same as above but no TM match)
    1. User selects an option to launch the process
    2. Export XLIFF with all segments included along with their fuzzy match scores. This should include any segments edited by the user (i.e. the current state of the segments)
    3. Process externally (i.e. MT system that I will code for that is currently not supported by SDL). This process needs to work all segments as part of a pre-translate stage.
    4. Import the resulting XLIFF updating the text in the target of the original document

    We need to ship this out to many customers. This is different to other connectors for MT in that it is translating the full document as part of the pre-translate stage rather than segment by segment at a users request.

    Many thanks for any assistance it working out how to do this. Apologies for my limited knowledge of the SDL platform. Some of this may be more obvious to someone more experienced on the platform.
Children
No Data