Has loading unsigned plugin into standalone cmd app been blocked?

I'm developing standalone command line application which is responsible for creation of trados project based on input arguments. It's using Trados Automation API. So basicly I'm creating project with some files from one language to another and with some translation providers like TM or NMT. Then I'm running automatic tasks like pre-translate, analyze, etc. Application is supposed to work with Trados Studio 2019.

Right now I'm trying to upgrade application to work with Trados Studio 2022 (SR1). Here we comes where I encountered a problem. I cannot create project with unsigned NMT Translation Provider plugin (which is modified DeepL MT Plugin based on source code from sdl-community github repo). The task 'Analyze Files' is throwing following exception(s):
ArgumentException:No translation provider factory found for uri 'deepltranslationprovider:///'.
ProjectAutomationException: Failed to create an instance of translation provider 'deepltranslationprovider:///'.
ProjectApiException: Unexpected exception when initializing task 'Analyze Files': Failed to create an instance of translation provider 'deepltranslationprovider:///'..

This NMT Translation Provider plugin works perfectly fine under Trados Studio 2022. I can create project with the same configuration with plugin included in project.

Based on my debugging it looks like the API is not loading unsigned plugins under my command line application. Did something change under the hood that automation API does not load unsigned plugins anymore? Or I'm doing something wrong?

Parents Reply
  •  

    But I don't understand why it happen in first place. Why it has been blocked.

    I really doubt it's been blocked.  That would mean we did it on purpose and I really doubt this was ever the case.  I think this is just the result of the core product team not being fully aware of what developers using the APIs and using Studio plugins in their automation needed, and as a result the scenario was never tested.  I think it's easy to blame developers without any concept of how many priorities they have and what their strategic goals are, so things can be missed.  But making things harder for 3rd party developers is definitely not anything we want... quite the opposite in fact!

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

Children