Sdl.Community.Toolkit.Integration

Migrate Sdl.Community.Toolkit solution to Studio 2022 (Beta)


Keywords
SDL, Studio
License
Apache-2.0
Install
Install-Package Sdl.Community.Toolkit.Integration -Version 1.8.9

Documentation

Trados-Community-Toolkit

The Trados Community Toolkit is a collection of helper functions. It simplifies and demonstrates common developer tasks building Trados Studio plugins.

Supported platforms

  • .NET 4.5 (Desktop / Server)
  • Windows 7 / 8 / 8.1 /10 Store Apps
  • Trados Studio 2019 or later

Getting started

This libraries are build on top of Trados Studio APIs and thus using them also requires having Trados Studio installed.

  1. Install Visual Studio 2019 or 2021. The community edition is available for free here.

  2. Open the solution for an existing Trados Studio plugin or create a new one.

  3. In Solution Explorer panel, right click on your project name and select Manage NuGet packages. Search for Trados.Community.Toolkit, and choose your desired NuGet Packages from the list.

Manage Nuget packages

  1. In your C# class, add the namespaces to the toolkit, for example:
using Trados.Community.Toolkit.Integration
  1. Use the extensions for existing API classes.

Nuget Packages

NuGet is a standard package manager for .NET applications that is built into Visual Studio. From your open solution choose the Tools menu, NuGet Package Manager, Manage NuGet packages for solution... to open the UI. Enter one of the package names below to search for it online.

Community Toolkit Nuget packages

NuGet Package Name description
Trados.Community.Toolkit.Core NuGet package includes helper methods for Studio versions.
Trados.Community.Toolkit.FileType NuGet package that includes helper metods for FileType Support Framework classes, like ISegment, ISegmentPairs or ITranslationOrigin.
Trados.Community.Toolkit.ProjectAutomation NuGet package that includes helper methods for ProjectAutomation API classes, like ProjectTemplateInfo.
Trados.Community.Toolkit.LanguagePlatform NuGet package that includes helper methods for LanguagePlatform working with the Translation Memory API; e.g. recover additional information for ISegmentPair (FileTypeSupport.Framework), that includes the LanguagePlatform representation of the segment and word counts
Trados.Community.Toolkit.Integration NuGet package that includes helper methods for Integration API classes, like DisplayFilterRowInfo or Document.

Features

  • Helper functions for working with FileTypeSupport Framework
  • Helper functions for working with ProjectAutomation API
  • Helper functions for working with LanguagePlatform
  • Helper functions for working with Integration API
  • Helper functions for handling Trados Studio versioning

Feedback and Requests

Please use GitHub issues for questions or comments.

Contributing

Do you want to contribute? Here are our contribution guidelines.

Principles

  • Principle #1: The toolkit will be kept simple.
  • Principle #2: As soon as a comparable feature is available in the Trados Studio, it will be marked as deprecated.
  • Principle #3: All features will be supported for the latest Trados Studio release cycles or until another principle supersedes it.