Documentation Center

Working with custom batch tasks in Trados GroupShare

During project creation, Trados GroupShare automatically runs the following sequence of default batch tasks to prepare the project files for translation: Scan file type, Convert to translatable format, Split text into segments, Apply PerfectMatch files (where available), Pre-translate files, Analyze files.

If you need to run additional batch tasks on your project files, Trados GroupShare 2020 SR1 CU3 and later enables you to install plug-ins for custom batch tasks. To use an installed plug-in, specify its settings in a Trados GroupShare project template, which you can then apply to new projects.

Starting with the 2020 SR1 CU3 release, GroupShare offers support for the SDL Batch Anonymizer plug-in. This is a plug-in created by SDL that you can use to strip translated and pre-translated segments of any identifiable metadata. Future Trados GroupShare releases will enable developers to install their own plug-ins for any other custom batch tasks.

Installing a plug-in

Install your custom batch task plugin on the server where Trados GroupShare is installed. The plug-in will be available for all the users in your Trados GroupShare account.

On a Trados GroupShare CU3 server

  1. Deploy the plug-in assemblies to the location where Trados GroupShare is installed. The default location is C:\Program Files (x86)\SDL\SDL Server\Application.
  2. Deploy the <PluginName>.plugin.resources and <PluginName>.plugin.xml where the Trados GroupShare plug-ins are installed. The default location for plug-ins is: C:\Program Files (x86)\SDL\SDL Server\Application\Plugins.
  3. Restart the Application Service and the Execution Service. Your custom batch task is now available in Trados GroupShare, and can be added to project templates.

On a Trados GroupShare CU4 server (and later)

  1. Deploy the plugin file to one of the following locations:
    • Users\[user who installed GroupShare]\AppData\Local\
    • Users\[user who installed GroupShare]\AppData\Roaming\SDL\SDL Trados GroupShare\Plugins\Packages
  2. Restart the Application Service and the Execution Service.
  3. Check that your custom batch task shows up under the ...\SDL\SDL Trados GroupShare\Plugins\Packages folder in the Local or Roaming location where you deployed the plugin file for step 1.

Your custom batch task is now available in Trados GroupShare, and can be added to project templates.

List installed plug-ins

To retrieve the list of tasks available in Trados GroupShare and check that your plug-in has installed correctly, make the following API call: http://<serv_name>/api/projectserver/v4/batchtasks.

Working with Batch Anonymizer

The Batch Anonymizer is a plug-in created by us that you can directly install on your Trados GroupShare server. This plug-in enables Trados GroupShare to work with project templates that include settings for the Batch Anonymizer task.

The anonymization task can bulk-remove or replace information on:
  • users who worked on any already translated segments in the project files
  • translation resources that have been used for translating and pre-translating the segments in the project files

1. Install the Batch Anonymizer plug-in

Add the Batch Anonymizer to Trados GroupShare so that you can then upload project templates with Batch Anonymizer settings.

On a Trados GroupShare CU3 server

  1. Extract the Batch Anonymizer.zip file.
  2. Copy the Sdl.Community.SDLBatchAnonymize.dll file, and paste it to the folder where Trados GroupShare is installed. The default installation path is C:\Program Files (x86)\SDL\SDL Server\Application.
  3. Copy the Sdl.Community.SDLBatchAnonymize.plugin.resources file and the Sdl.Community.SDLBatchAnonymize.plugin.xml file to the folder where the Trados GroupShare plug-ins are installed. The default installation folder for plug-ins is C:\Program Files (x86)\SDL\SDL Server\Application\Plugins.
  4. Restart the Execution Service and Application Service.

On a Trados GroupShare CU4 server (and later)

  1. Deploy the Sdl.Community.SDLBatchAnonymize.sdlplugin file to one of the following locations:
    • Users\[user who installed GroupShare]\AppData\Local\SDL\SDL Trados GroupShare\Plugins\Packages
    • Users\[user who installed GroupShare]\AppData\Roaming\SDL\SDL Trados GroupShare\Plugins\Packages
  2. Restart the Application Service and the Execution Service.
  3. Check that the Anonymizer component files show up under ...\SDL\SDL Trados GroupShare\Plugins\Unpacked\Sdl.Community.SDLBatchAnonymize in the Local or Roaming location where you deployed the plugin file for step 1.

The Anonymizer batch task is now available in Trados GroupShare, and can be added to project templates.

2. Add the Batch Anonymizer task to a project template

Prerequisites: When creating a project template with Batch Anonymizer settings, make sure that:
  • You did not exclude the Pre-Translate task from your project template. This is a default batch task that Trados GroupShare requires for running the Batch Anonymizer task.
  • The Batch Anonymizer is the last task in the batch sequence. Trados GroupShare runs batch tasks on your project files in the order specified in the project template.

To create a project template with anonymization settings, use one of the following workflows:

Trados Studio workflow

Use this workflow if you have access to Trados Studio and you want to quickly generate a project template with anonymization settings.
  1. Download and install the Batch Anonymizer plug-in for Trados Studio from the RWS AppStore.
  2. Create a project in Trados Studio, then go to Project Settings > Language Pairs > All Language Pairs > Batch Processing > SDL Batch Anonymizer and configure the following anonymization settings for the project:
    • Username: Created by, Last modified by, Comment author, Tracked changes.
    • Resource origins: Machine Translation Provider, Translation Memory Provider, Match Score.
  3. Select Projects view > Home tab > Create project template to generate a template that includes the settings for the Batch Anonymizer task.
  4. Specify a name and download location for the .SDLTPL project template file, then click Save.

Manual workflow

Use this workflow if you have an .SDLTPL project template file that you want to edit outside Trados Studio:
  1. Open the .SDLTPL project template file in Notepad++ or other similar text editing tool.
  2. Edit the settings in the BatchAnonymizerSettings group and save the .SDLTPL file.

3. Upload the project template to Trados GroupShare

To add a project template that contains the Batch Anonymizer task and settings:
  1. Go to Resources > Project Templates > New Project Template.
  2. On the General Settings page, click Browse in the From file template field, and upload the .SDLTPL file that includes your Batch Anonymizer settings.
  3. Specify the template settings for the other pages on the wizard, and click Finish. Trados GroupShare automatically checks if all the batch tasks specified in the template are supported, and notifies you of any missing plug-ins.

4. Apply the project template to new, relevant projects

  1. Go to Projects > New Project to create a new project.
  2. On the General Settings page, check that you have specified the correct location, then select the template that includes the Batch Anonymizer task.
  3. Fill in the other project details in the New Project wizard, and click Finish.

During project creation, Trados GroupShare anonymizes any pre-translated and translated segments, based on the settings specified in the template.