Reference - Translation service properties

Kentico EMS required

Features described on this page require the Kentico EMS license.

You can configure the following properties when creating or editing translation services in the Translation services application:

Property

Description

Display name

Sets the name of the service displayed to users in the administration interface, for example in the list of possible options when submitting a page for translation.

Code name

Sets a name that serves as a unique identifier for the service, for example in the API. You can leave the default (automatic) option to have the system generate an appropriate code name based on the display name.

Service provider - Assembly name

Must contain the name of the assembly where the service is implemented. Select the (custom classes) option for classes defined in the application’s App_Code (or Old_App_Code) folder.

Service provider - Class

Specifies the exact class (including any namespaces) that defines the functionality of the translation service.

Is machine translation service

Indicates whether the service is based on machine translation. If disabled, it is considered as a human translation service.

  • When translating pages using a machine service, the system creates the new page versions in the target language immediately.
  • With human translation services, there is a waiting period and the system tracks translations through submission tickets.

Service is enabled

Can be used to manually enable or disable the service. Users can only choose enabled services when submitting pages for translation.

Supports submitting instructions

If enabled, users can include additional instructions (for human translators) when creating submissions for this service.

Supports prioritizing of submissions

If checked, users are able to set a priority (low, normal or high) for individual translation submissions that use the service.

Supports submission deadlines

Indicates if users are allowed to specify deadline dates for translation submissions that use this service.

Supports manual status update

Indicates whether users are allowed to manually update status of existing submissions.

Supports canceling submissions

Indicates whether users can manually cancel an already submitted translation.

Note: The Translations.com service doesn’t support canceling of submissions directly in Kentico. If you need to cancel a submissions sent for a translation, do so in the Project Director or by contacting the Translations.com support.

Service parameter

The text data entered into this field may be accessed from within the code implementing the service. It serves as a string parameter through which you can modify the functionality of the service without having to edit its code.

You can load the value in the code of your service classes through the CustomParameter property, which is inherited from the parent class (AbstractMachineTranslationService or AbstractHumanTranslationService).

C# example



CMS.Helpers.ValidationHelper.GetString(CustomParameter, "")