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
Parents Reply
  • Hi , this will require a more conclusive investigation which we will pick up once we have more capacity in our team. My initial impression is that it should be possible, but requires the TU's to include tokentization of the segments in the search results.  Features related to tokenization of the segments are derived from language processing which is not publicly available, from what I see now.

    We will need to review this fully of course and identify if we can provide you with sufficient information (including an example where necessary) of the requirements in accomplishing this and/or if we need to add an API change proposal request with the Studio team etc...

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

    emoji
Children