An Event regarding TermRecognition and TranslationMemoryResults

I can do something when a "selection is changed" in Editor Pane
Because, there is an event "Changed" under namespace "Sdl.TranslationStudioAutomation.IntegrationApi".

Just like this,
Can I use a Term Recognition Window "Completed" Event under proper namespace ?
and
Cand I use a Translation Results Window "Completed" Event under proper namespace ?

Thanks.

Parents
  • Hi!

    Unfortunately, there aren't such events for translation results or term recognition.

    But when you create a terminology/translation provider, then you can create your own events for that purpose.

    If you're not, then you just have to find some other way of doing that, for example by using

    1. _editorController.ActiveDocument.ActiveSegmentChanged and then check to see if there are any relevant translation results on which you want to act by using:

    _editorController.TranslationResultsController.TryGetCurrentTranslationResults()

    2. _editorController.ActiveDocument.SegmentConfirmationLevelChanged which is triggered by a received translation if this option is on:

    Trados Studio options menu with 'Apply automated translation when no TM match is found' checked under Translation Memory settings.



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

    Unfortunately, there aren't such events for translation results or term recognition.

    But when you create a terminology/translation provider, then you can create your own events for that purpose.

    If you're not, then you just have to find some other way of doing that, for example by using

    1. _editorController.ActiveDocument.ActiveSegmentChanged and then check to see if there are any relevant translation results on which you want to act by using:

    _editorController.TranslationResultsController.TryGetCurrentTranslationResults()

    2. _editorController.ActiveDocument.SegmentConfirmationLevelChanged which is triggered by a received translation if this option is on:

    Trados Studio options menu with 'Apply automated translation when no TM match is found' checked under Translation Memory settings.



    Generated Image Alt-Text
    [edited by: Trados AI at 1:30 PM (GMT 0) on 5 Mar 2024]
Children