Trados Studio
Trados Enterprise
Trados Team
Trados GroupShare
Trados Business Manager
Passolo
MultiTerm
RWS AppStore
Connectors
Beta Groups
Managed Translation
MultiTrans
TMS
WorldServer
Language Weaver
Language Weaver Connectors
Language Weaver Edge
Tridion Docs
Tridion Sites
LiveContent S1000D
XPP
Language Developers
Tridion Docs Developers
Community Help
RWS User Experience
Internal Trados Ideas Community
Mercury
RWS Community Internal Group
RWS Training & Certification
Style Guides
RWS Campus
RWS Enterprise Technology Partners
Trados Approved Trainers
ETUG (European Trados User Group) Public Information
Nordic Tridion Docs User Group
Tridion West Coast User Group
Trados Studio Ideas
Trados GroupShare Ideas
Trados Team Ideas
Trados Team Terminology Ideas
Trados Enterprise Ideas
Trados Business Manager Ideas
MultiTerm Ideas
Passolo Ideas
RWS Appstore Ideas
Tridion Docs Ideas
Tridion Sites Ideas
Language Weaver Ideas
Language Weaver Edge Ideas
Managed Translation - Enterprise Ideas
TMS Ideas
WorldServer Ideas
LiveContent S1000D Ideas
Contenta S1000D
XPP Ideas
Events & Webinars
To RWS Support
Detecting language please wait for.......
Hi,
We all know that SDL local file TM support hightlight the differences between the input text and the returned source text, just like this:
Howerver, Our plugin which implements translation provider function can't display the difference, the result is:
Is there any method to achieve this function?
In order to for this to work you need to calculate the determine the changes and calculate the positions where there are differences. You then need to set this information on the following property:
searchResult.ScoringResult.EditDistance
Calculating the changes and differences is not a trivial taks and we are looking at ways on how we can expose the existing implementation. Until then you need to provide your implementation.
I have tried to implement the EditDistance function like this.
Studio will not allow to use those implementations because are considered to be internals and are not part of the public API. You need to implement your own algorithm for calculating the edit distance.
There's no clear roadmap and when this will be done. I have in plan to make this available as part of the Trados Studio Community Toolkit.