Show differences in segment being translated and searched/recommended segment

Hi All,

I created our own translation service provider using Creating a Translation Service Provider Plug-in. I am able to retrieve recommended segments without any problem. However, the differences between the segment being translated and the searched segment is not being displayed. I need to show the differences the way a file-based translation memory is displaying as shown in the screenshot below.

Screenshot of Trados Studio showing a segment comparison with differences highlighted in blue and red, with the word 'therefore' duplicated and marked.

Can anybody point me to some resources on how to do this? Or can someone help me achieve this? This question was asked like 3 years and 6 years ago but nobody answered.

https://community.rws.com/developers-more/developers/language-developers/f/sdk_qa/20977/add-support-for-showing-differences-in-the-tm-source-in-a-translationprovider-plugin

https://community.rws.com/developers-more/developers/language-developers/f/sdk_qa/6449/show-differences-in-translation-source---tu-source

Hope someone out there can help me with this.

Best,

Edward



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