Dear RWS Community members, we are in the process of implementing new design changes and as such, you may notice these changes within the platform when accessing different parts of it. We thank you for your time, patience and understanding during this process.

How to check if segment is locked in a custom file type plugin

I'm working on developing a custom json file type for Trados Studio. I need to perform different actions on segments depending on whether the segments are locked in the translation editor. So far, I cannot see a method or API hook to check if a segment is locked in either the file parser or file writer.

Our file type plugin, and the fileWriter within are implemented according to: How to Create a Plug-in for Processing Native Formats from the SDL documentation.

Note that we are using the AbstractBilingualFileTypeComponent, IBilingualWriter, INativeOutputSettingsAware for our file writer.

I need to be able to obtain the information about the locked/unlocked state of a segment that is being written into the file.

Is there a way to do this inside the fileWrinter, or is there something else I need to do?

Parents Reply Children
No Data