Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The CTSX Microsoft module performs translation via.

Table of Contents

Installation

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

Code Block
languagexml
themeEclipse
<dependency>
    <groupId>info.magnolia.translation</groupId>
    <artifactId>magnolia-content-translation-support-ext-microsoft</artifactId>
    <version>${CTSExtendedVersion}</version>
</dependency>

Configuration

Configuration of the Google service provider is handled in the module config. This provider can be configured with the following properties.

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.microsoft.definition.MicrosoftProviderDefinition

clientId

required

Identifies the client application with Google.

clientToken

required

Client secret for the client ID.

configName

required

Identifies the configuration within Magnolia.

defaultFlag

optional

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

implementationClass

required

Implementation class for interfacing with Google.

See info.magnolia.translation.ext.provider.microsoft.translator.MicrosoftTranslator

Usage

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

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

How it works

The same steps with CTSX Google Translator but you will choose Microsoft.com instead of Google.com in the Configuration. 

Known Issues

Text Too Large

In case of submitting many contents (such as the whole /travel page includes dependences), an error will be thrown as below. This is known issue as number of submitted segments is over microsoft's threshold. 

...