Google Translate Service

Prev Next

In order to see Google Translate Connector in the list "enable.connections.google_translate" feature flag should be enabled in System.properties file.

c6f527a5c0.jpg

Translate Service Configuration


Parameter

Description

Service Name

Descriptive name of the integration service.

Account

You can select from existing accounts or leave “Create new…” to create the new one on this step

Private Key

This field accepts a content of the JSON file, which is provided by Google and can be downloaded on your Cloud Platform Console Credentials page. Open the JSON file with a text editor and Copy-Paste its content into this field

Please, follow this link if you need help in creation of service account key

f68787362d__1_.jpg

Field Definition Configuration


When the Translation Connected Service is configured the text field should be mapped as Source of the text to translate.

In the Text or Text Box field definition select Translation Source in Content Translation section.

Content_Translation.png

After that specify the existing Translation Service and Source Language.

Content_Translation_Source.png

Do the same for another Text field and select Translation Target. Choose the language of the desired translation.

Content_Translation_Target.png

Triggering Translation in the Item


To have access to the Translation mechanism user need to have "Edit" and “Translate” access to the module.

When configuration is done, translation service can be used on New UI. Currently, it is available on Item Form.

Fields that were mapped as Source of the text to translate are marked with the special icon on the Item form (2). Source fields need to be filled in with text before translation will be started.

To start translating, click on the "Translate" button on the topbar of the Item Form (1).

Inspire__1_.png

Spinner will be shown on the Item Form once Translation will be started.

Inspire__2_.png

Once translation will be finished, spinned will dissapear and Translation Target fields will be filled in with translations. Google mark will be shown near the auto filled Translation Target fields (3).

It is also possible to update Source or Target fields. Note that icon near the Target field will be changed afterwards (4).

Limitations:

  • Functionality is available only on Item Form and Split view;

  • All icons, excluding the Source field, dissapear after saving an item;

  • User without "Edit" access to the target field can not translate;

  • Target field become empty on the form if Source field is hidden on the form;

  • Translation is not available from split view in inline modules;

  • Translation icons are not shown on info sheet when Media focus is enabled;

  • All fields that are involved in translations (both source and target) must be displayed on the form.