How to use EditScript during import into TM?

I'm struggling to find any sensible documentation or examples of EditScript usage.
It's intended for use during import into TM... at least it seems...

There is a mention about it in the Studio 2015 (!!!) TM API documentation (http://producthelp.sdl.com/SDK/TranslationMemoryApi/4.0/html/024ab948-758e-4f14-a7c5-e7e8a058b433.htm - check the bottom right of the API schema) and one can find the EditScript related stuff partially documented in the TM API, but there is not a single word anywhere about how to use it - what the script actually is, how it works, what are the EditActions, what should be their format (there are also Load and Save methods), etc.

What's more, this part of the documentation seems to be completely missing from newer API version documentation - see the screenshots below.

So, is there anyone who can point me to some proper EditScript usage documentation?

Screenshot of SDL Translation Memory API documentation page for Studio 2015, highlighting the section on TranslationMemory.EditScripts. Screenshot of SDL Translation Memory API documentation page for Studio 2017 and later, indicating the absence of the TranslationMemory.EditScripts section.



Generated Image Alt-Text
[edited by: Trados AI at 1:22 PM (GMT 0) on 5 Mar 2024]
Parents Reply
  • Hi Florentina,

    thanks for the effort, but I'm afraid that's not what I was looking for...

    I was hoping for a documentation and overall "what is" and "how to" description...
    Starting with important generic information like "EditScript is an action used e.g. by the Batch Edit feature in TM Editor" to get the readers into a picture first... and documentation of the format used by Load/Save functions... etc.

    The programming stuff is more or less useless when one doesn't know and understand the basics and principles...

    Anyway, meanwhile I was able to find out most of this stuff myself using the more complete Studio 2015 API documentation and by exploring the related features directly in Studio.

    Still, one thing stroke me in the eyes - this comment in your code:

    #40426 - TM batch edit unexpectedly shortens source segments during replace operations

    Does it mean there is some nasty bug, potentially making the feature dangerous to use? Can you share more details?

Children