Documentation Center

Installing the Language Weaver extension

To set up the Tridion extension for Language Weaver in Tridion Sites, upload it through the Add-ons Service.

Before you begin

To install the Language Weaver extension, you'll need the following:

  • Tridion Sites 9.1 or later
  • Language Weaver account
  • Translation Manager, if using Language Weaver translation a preliminary step followed by traditional translation

Procedure

  1. In the Language Weaver user interface, generate a clientId and clientSecret.
    These are required by the Add-ons Service for OAuth authorization and you will use them in a subsequent step.
  2. Upload the Language Weaver extension ZIP package to the Add-ons Service.
  3. Define a JSON configuration that includes appropriate settings for your environment. Refer to the related topic for an explanation of all available properties.

    The following example illustrates the general format (not a realistic configuration):

    {
      "configuration": {
        "MachineTranslationEventHandler": {
          "configuration": {
            "hostUrl": "https://translate-api.sdlbeglobal.com",
            "clientId": "<clientId>",
            "clientSecret": "<clientSecret>",
            "useTranslationManagerConfiguration": true, 
            "excludedSchemas": [ "tcm:3-111-8" ],
            "includedSchemas": [ "tcm:3-111-8" ], 
            "translateMetadata": true, 
            "translationSettings": [
              {
                "publicationId": "10",
                "sourceLanguageId": "eng",
                "targetLanguageId": "fra", 
                "translateComponentNames": true,
                "model": "generic",
                "dictionaries": [ "0d967785-2857-46d7-9e10-4f6d1346db06" ],
                "mode": "speed"
              }
            ]
          }
        }
      }
    }
  4. Open Internet Information Services (IIS) Manager, and recycle the Tridion Sites Content Manager application pool.