Skip to main content

Sets machine translation settings

PUT 

/v2/projects/:projectId/machine-translation-service-settings

Sets machine translation settings

Request

Path Parameters

    projectId int64required

Body

required
    settings object[]required
  • Array [
  • targetLanguageId int64

    The language to apply those rules. If null, then this settings are default.

    primaryService stringdeprecated

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    This service will be used for automated translation

    primaryServiceInfo object

    Info about enabled services

    serviceType stringrequired

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    formality string

    Possible values: [FORMAL, INFORMAL, DEFAULT]

    enabledServices string[]deprecated

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    List of enabled services (deprecated: use enabledServicesInfo)

    enabledServicesInfo object[]

    Info about enabled services

  • Array [
  • serviceType stringrequired

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    formality string

    Possible values: [FORMAL, INFORMAL, DEFAULT]

  • ]
  • ]

Responses

OK

Schema
    _embedded object
    languageConfigs object[]
  • Array [
  • targetLanguageId int64

    When null, its a default configuration applied to not configured languages

    targetLanguageTag string

    When null, its a default configuration applied to not configured languages

    targetLanguageName string

    When null, its a default configuration applied to not configured languages

    primaryService stringdeprecated

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    Service used for automated translating (deprecated: use primaryServiceInfo)

    primaryServiceInfo object

    Info about enabled services

    serviceType stringrequired

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    formality string

    Possible values: [FORMAL, INFORMAL, DEFAULT]

    enabledServices string[]requireddeprecated

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    Services to be used for suggesting (deprecated: use enabledServicesInfo)

    enabledServicesInfo object[]required

    Info about enabled services

  • Array [
  • serviceType stringrequired

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    formality string

    Possible values: [FORMAL, INFORMAL, DEFAULT]

  • ]
  • ]
Loading...