Deepl - caaling from 3rd party apps

Hi,

I would like to utilize Deepl Plugin to call it from my app/plugin (automatization app for Trados). Is there any step-by-step how to configure it and call it? I checked the source code but I'm not sure how properly to call it if I have my project with files to be translated and I want to trigger automatization task via Trados Api.

emoji
Parents
  • Hi ,  I have uploaded a complete example here that you can use to understand how to call the DeepL provider from project automation in a StandAlone application.

    Example project:
    https://github.com/RWS/Sdl-Community/tree/master/Code%20samples/ProjectAutomation/ProjectAutomation

    Steps:

    1. Download an install the signed version of DeepL provider first.  You can download it from here: https://appstore.rws.com/Plugin/24

    2. Install Trados Studio 2024 (latest CU)

    3. Open the sample project (above) in VS.
    Important: open the VS as a admin.  This is needed as you'll be compiling & running the exe in the installation folder of Trados Studio

    4. In VS, ensure you have unchecked the option PInvokeStackImbalance
    - Open the Exception Settings: Ctrl+Alt+E
    - Uncheck: Managed Debugging Assistants->PInvokeStackImbalance

    5. From the program.cs, update the information  in the TODO's

    let me know how it goes

    Patrick Andrew Hartnett | RWS Group

Reply
  • Hi ,  I have uploaded a complete example here that you can use to understand how to call the DeepL provider from project automation in a StandAlone application.

    Example project:
    https://github.com/RWS/Sdl-Community/tree/master/Code%20samples/ProjectAutomation/ProjectAutomation

    Steps:

    1. Download an install the signed version of DeepL provider first.  You can download it from here: https://appstore.rws.com/Plugin/24

    2. Install Trados Studio 2024 (latest CU)

    3. Open the sample project (above) in VS.
    Important: open the VS as a admin.  This is needed as you'll be compiling & running the exe in the installation folder of Trados Studio

    4. In VS, ensure you have unchecked the option PInvokeStackImbalance
    - Open the Exception Settings: Ctrl+Alt+E
    - Uncheck: Managed Debugging Assistants->PInvokeStackImbalance

    5. From the program.cs, update the information  in the TODO's

    let me know how it goes

    Patrick Andrew Hartnett | RWS Group

Children
No Data