Translate Single Document using API


I noticed that in SDL Trados Studio 2019 it's possible to translate a single file without having to create a project first using the "Translate Single Document" option (description can be found here). After opening the file and creating the bilingual sdlxliff file, it's also possible to run Batch-Tasks, e.g. Analyze. 

I was wondering if that is also possible to do through the API. So far I haven't been able to find anything in the documentation about opening a single document and creating the bilingual files without using the FileBasedProject class, which obviously creates a new project. I'm also wondering if there is even a way to run the Analysis-Task without using the FileBasedProject.RunAutomaticTask method, since I would need a project file for that.

Thank you very much for any help.

Top Replies

  • Even the single file approach creates a project, it just skips the wizard process because it uses the default template and doesn't provide for any tinkering during the project creation.…