I have realized that my initial post was a bit impractical, mixing together two distinct issues. So here is issue #2 separately.
For processing efficiency, we would like our AT plugin to be able, during Pre-translate batch processing, to read all segments of the current file in one go, send them over in bulk and finally pass back the results to Studio in such a way that Studio can associate the data with the right target segments.
Could anyone please point me to the part of the API to use for this task? Many thanks in advance!
Best regards,
Sebastian