Regarding the issue of using plugins and TM together

While testing the developed plugin, I encountered an issue. When using the plugin and TM for pre-translating documents, if the minimum match rate is higher than the TM threshold, the content from the TM is not applied as expected. However, the plugin also does not process this sentence. Why is this?

Screenshot of Studio Developers Q&A plugin settings showing Dip Tradus Plugin 2.1.0 and TM.sdltm files loaded.

This is project configuration information (plugin, TM)
Screenshot of translation memory settings with a minimum match rate of 75 and various other configuration options.
This is the configuration of the pre translated file
Screenshot of pre-translation results with one segment at 74% match from TM not applied, and temporary code adjustments visible.
This is the result of pre translation
Screenshot of code snippet from Studio Developers Q&A plugin with a method returning SearchResults array.
This is the temporary code adjustment I used for testing
After debugging, it was found that if the translationUnits[i].SourceSegment in the SearchTranslationUnitsMasked method is associated with the used TM, the corresponding value of mask[i] is False.
How can I set or adjust the code so that when the TM does not meet the threshold condition, the plugin is used to translate the current sentence?
Thinks!


Generated Image Alt-Text
[edited by: RWS Community AI at 6:22 AM (GMT 0) on 15 Nov 2024]
Parents Reply Children
No Data