Description
For using LanguageResources in translate5, see Basic usage - LanguageResources.
Configuration
Config name | Values | Default | Description |
runtimeOptions.LanguageResources.microsoft.apiUrl | string | https://api.cognitive.microsofttranslator.com | Microsoft 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.apiKey | string | 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.matchrate | integer | 70 | Microsoft translator penalty value, used as default matchrate since in MT no matchrate is available |