mirror of
https://ghfast.top/https://github.com/discourse/discourse-translator.git
synced 2026-07-17 11:56:50 +08:00
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
plugins:
|
|
translator_enabled:
|
|
default: false
|
|
client: true
|
|
translator:
|
|
default: 'Microsoft'
|
|
client: true
|
|
type: enum
|
|
choices:
|
|
- Microsoft
|
|
- Google
|
|
- Yandex
|
|
translator_azure_subscription_key:
|
|
default: ''
|
|
translator_azure_region:
|
|
default: 'global'
|
|
client: true
|
|
type: enum
|
|
choices: # Valid choices retrieved from https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-reference#authenticating-with-a-multi-service-resource
|
|
- global
|
|
- australiaeast
|
|
- brazilsouth
|
|
- canadacentral
|
|
- centralindia
|
|
- centralus
|
|
- centraluseuap
|
|
- eastasia
|
|
- eastus
|
|
- eastus2
|
|
- francecentral
|
|
- japaneast
|
|
- japanwest
|
|
- koreacentral
|
|
- northcentralus
|
|
- northeurope
|
|
- southafricanort
|
|
- southcentralus
|
|
- southeastasia
|
|
- uksouth
|
|
- westcentralus
|
|
- westeurope
|
|
- westus
|
|
- westus2
|
|
translator_google_api_key:
|
|
default: ''
|
|
translator_yandex_api_key:
|
|
default: ''
|
|
max_translations_per_minute:
|
|
default: 3
|