Integrating Adaptive Translation Training in SDL – API & Workflow Guidance

Hello everyone,

I am looking to integrate the Adaptive Translation Training feature into SDL. Adaptive Translation refers to a system that dynamically learns from training data to improve translation quality over time.
I would appreciate guidance on:

  1. How to enable and integrate Adaptive Translation within SDL?
  2. Any available API endpoints that support this feature.
  3. Best practices or any documentation that explains the implementation in detail.
  4. If there is an official API reference or documentation, please share the links. Any insights or examples would be highly appreciated!

Thank you!

Parents Reply
  • Hi Paul, I am working on the plugin of Alexa Translations, I need your help to find out the details and documentation about how to integrate the adaptive translations in our plugin so that our user could be able to use this feature in Trados. 
    how we will be sending the edited segments in the editor to engine to be adaptive, which interface or function we need to use to catch that in trados in our plugin, it would be helpful if you could send me the related docs to help to implement this feature in the plugin. 

Children
  •  

    If you read through the documentation you should see that Translation Providers in Trados Studio have an update feature.  I think this section is what you're looking for: https://developers.rws.com/studio-api-docs/apiconcepts/translationmemory/updating_a_translation_memory.html#add-a-translation-unit

    So you wouldn't be specifically making anything adaptive, you would just be sending the TUs back to your provider and how you use them is up to you.

    Does that help?

    Paul Filkin | RWS

    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 your response.

    I want to add a learning feature in the segment editor. When a user edits a segment and clicks on "Learn" the segment should be sent to the engine and preserved for future learning. Additionally, I need to capture the project ID from the user.

    Could you please guide me on how to implement this in SDL?

  • Hi  ,

    If you're looking to implement functionality to capture edits made within the segment editor and send them back to your engine for learning purposes, you'll want to leverage the Integration API by subscribing to specific event handlers on the Editor document. Specifically:

    Active segment changes: You can subscribe to the `ActiveSegmentChanged` event to detect when the user moves to different segments. This lets you actively monitor changes and edits in real-time.

    Capturing Segment Content: To capture segment content after the translator/post-editor has applied changes, subscribe to events such as, `ContentChanged` etc...

    Send SegmentPair to your engine (Learn button?): Consider implementing your own custom button/action (like your described "Learn" button) in the Trados Studio UI that explicitly sends the updated segment data

    This is a rough outline of steps you'd take for implementation that I've interpreted from your comments:

    • Reference `Sdl.Desktop.IntegrationApi.dll` in your Visual Studio plugin solution.
    • Subscribe to the segment-level editing events (like `ActiveSegmentChanged`).
    • Capture the currently edited segment (`ActiveSegment`) and send it to your custom learning engine.

    You can make specific reference to the public documentation to understand how to implement features from the ISegmentDocument or make reference to the public sample api projects, here: https://github.com/RWS/studio-api-docs

    I would also recommend you clone our public RWS community github repo as it contains alot of projects with integrations with the Editor that provide you with some good examples of 'How To' subscribe to the various event handlers from the IStudioDocument, here: https://github.com/RWS/Sdl-Community

    Patrick Andrew Hartnett | Developer Experience | Team Lead | RWS Group