Due to essential maintenance, access to Trados cloud will be unavailable on Saturday 30 August from 00:00 to 12:00 UTC.

Setting up a starter project. Basic questions

Hi,

I am trying to create a project using the  SDL Project Automation API documentation.

Although it says that the recommended tool for that is Visual Studio 2010, it doesn't support the libraries of the API, as that is  .Net 4.6.1. Should I use Visual Studio 2015 or 2017? (producthelp.sdl.com/.../acb28118-5b68-463b-8366-1dfe02637e7b.htm)

I tried to run the installation of your SDK_Installer.msi, I think I ran the 5.0, but I didn't find any templates in my Visual Studio. Where could I get the libraries?

Do I still need to set the build output path to the installation folder of SDL Trados Studio?

 

I also included in my Visual Studio 2017 the Trados Studio templates for Visual Studio. This was created by SDL. With this I got 4 templates:

-SDL Custom Batch Task

-SDL Terminology Provider

-SDL Trados Studio

-SDL Translation Provider

Which template should I use to project that can be opened by Trados Studio?

 

I tried to put together the code found here: http://producthelp.sdl.com/SDK/ProjectAutomationApi/3.0/html/cb91bd0f-d7e0-471b-bfa0-2c43f321fb7e.htm

 Language srcLang = new Language(CultureInfo.GetCultureInfo("en-US"));

The code snippet above shows an error for me, which dll should I add as a reference for the project?

 

I know these are basic questions compared to what you can do with the API, but the answers would help me quite a bit.

Thanks for the help!

 

Parents
  • Hi  

    • Regarding Visual Studio version: I suggest you to install at least Visual Studio 2017 because if you want to use the templates for Studio 2019 you need at least VS2017
    • We published Visual Studio extensions for both Studio 2017 and 2019: In Visual Studio-> Tools-> Extensions and Updates search for SDL. You'll be able to see the extensions which will add our project templates to Visual Studio

    Visual Studio Extensions and Updates window showing SDL Trados Studio Templates for Visual Studio 2017 and 2019 with an arrow pointing to the 'Download' button.

    Question:"Do I still need to set the build output path to the installation folder of SDL Trados Studio?"

    • You can set the path to be bin\debug

    I've created a Sample application where it shows you exactly how to create a new project and it has explication on what dlls you need to import. The application is a plugin which is loaded when Studio starts.You can find more information here.

    If you have any questions do not hesitate to ask.

     

    Kind regards,

    Andrea Ghisa

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 1:56 PM (GMT 0) on 28 Feb 2024]
Reply
  • Hi  

    • Regarding Visual Studio version: I suggest you to install at least Visual Studio 2017 because if you want to use the templates for Studio 2019 you need at least VS2017
    • We published Visual Studio extensions for both Studio 2017 and 2019: In Visual Studio-> Tools-> Extensions and Updates search for SDL. You'll be able to see the extensions which will add our project templates to Visual Studio

    Visual Studio Extensions and Updates window showing SDL Trados Studio Templates for Visual Studio 2017 and 2019 with an arrow pointing to the 'Download' button.

    Question:"Do I still need to set the build output path to the installation folder of SDL Trados Studio?"

    • You can set the path to be bin\debug

    I've created a Sample application where it shows you exactly how to create a new project and it has explication on what dlls you need to import. The application is a plugin which is loaded when Studio starts.You can find more information here.

    If you have any questions do not hesitate to ask.

     

    Kind regards,

    Andrea Ghisa

    emoji


    Generated Image Alt-Text
    [edited by: Trados AI at 1:56 PM (GMT 0) on 28 Feb 2024]
Children