CTSX Transperfect

Content management Incubator Version 4.1.0 Magnolia 6.3 compatible

Issues

Git

Git

The CTSX Transperfect module performs translations using the Transperfect APIs. Translations are handled asynchronously.

Installing with Maven

Maven is the easiest way to install the module. Add the following to your bundle:

In order to start the translation process, please make sure that the core and apps modules in the CTSX Framework have already been installed.
<dependency>
  <groupId>info.magnolia.translation</groupId>
  <artifactId>magnolia-content-translation-support-ext-translations-com</artifactId>
  <version>4.1.0</version>
</dependency>
<dependency>
  <groupId>com.translations.globallink</groupId>
  <artifactId>globallink-connect-api</artifactId>
  <version>4.18.4</version>
</dependency>

Configuration

Configuration of the Transperfect service provider is handled in the module config. This provider should be configured with the following path:

modules
└── content-translation-support-ext-translations-com
    └── config
        ├── translationProviders
        │ └── transComProviderConfigFile.yaml
For users upgrading from version 4.0.0 to version 4.1.0, ensure you move your existing translation provider configuration to the correct path.

Use JCR for module configuration. When using .yaml, the translation provider definition is not be loaded and connector is unusable.

This provider can be configured with the following properties.

Property Description

agentName

optional

Translation agent name.

autoTranslationAllowed

optional , default is false

When true the content review process (workflow) is bypassed.

class

required

Definition class for the translator to be used.

See info.magnolia.translation.ext.provider.google.definition.TranslationsComProviderDefinition.

configName

required

Identifies the configuration within Magnolia.

daysListen

required

Number of days system continue to listen to GlobalLink PD (calculated from last modified date of a submission).

defaultFlag

optional

The default configuration used by the system in the case of multiple translation services being used.

enabledFlag

required

Enable or disable the configuration using this flag.

fileFormat

required

Depends on the version of GlobalLink PD you use. For version 5 use "Magnolia". For version 4 use "xliff".

implementationClass

required

Implementation class for interfacing with Transperfect.

See info.magnolia.translation.ext.provider.translationscom.translator.TranslationsComRestTranslator.

projectId

only required in 3.4.10+

Id of the project setup with Transperfect.

basicKey

only required in 3.4.10+

This basic auth token is only used to get PD credential. You can get these credentials from a PD administrator.

submissionPrefix

optional

Prefix added to submitted documents.

Example: magnolia-

downloadExpiration

optional, default is 840000

Download expiration time in milliseconds. Default to 14 minutes (840,000 ms).

Sample configuration

4.1.0+
'config':
  'jcr:primaryType': 'mgnl:content'
  'translationProviders':
    'translationsComConfig':
      'agentName': 'xxx'
      'autoTranslationAllowed': 'false'
      'class': 'info.magnolia.translation.ext.provider.translationscom.definition.TranslationsComProviderDefinition'
      'configName': 'translations.com'
      'daysListen': '1'
      'defaultFlag': 'false'
      'enabledFlag': 'true'
      'fileFormat': 'xxx'
      'implementationClass': 'info.magnolia.translation.ext.provider.translationscom.translator.TranslationsComRestTranslator'
      'projectId': 'xxx'
      'basicKey': 'xxx'
      'submissionPrefix': 'xxx'
      'url': 'xxx'

Usage

After registration and starting, the Content Translation Support Extended (CTSX) module will bind the Transperfect translator to Configuration field.

You can test the connection to the translator api before using.

translations dot com

How it works

Use the same steps outlined with CTSX Google Translator but you will choose Transperfect instead of Google.com in the Configuration.

In additional, at the Step 2 after submitting the batch you must to wait for the response from Transperfect’s GlobalLink Project Director app (PD).
You would be able to see the Pulse notification for translation result as soon as the submission has been delivered on PD.
  • 5.x

  • 4.x

pd version5x
pd version4x
Feedback

DX Core

×

Location

This widget lets you know where you are on the docs site.

You are currently perusing through the Content Translation Extended module docs.

Main doc sections

DX Core Headless PaaS Legacy Cloud Incubator modules