Page tree

Description

For using LanguageResources in translate5, see Basic usage - LanguageResources.

Configuration

Config nameValuesDefaultDescription

runtimeOptions.LanguageResources.microsoft.apiUrl

stringhttps://api.cognitive.microsofttranslator.comMicrosoft translator language resource api url. To be able to use microsoft translator, you should create an microsoft azure account. Create and setup and microsoft azure\naccount in the following link: https://azure.microsoft.com/en-us/services/cognitive-services/translator-text-api/
runtimeOptions.LanguageResources.microsoft.apiKeystring
Microsoft translator language resource api key. After compliting the account registration and resource configuration, get the api key from the azzure portal.
runtimeOptions.LanguageResources.microsoft.matchrateinteger70Microsoft translator penalty value, used as default matchrate since in MT no matchrate is available
  • No labels