TranslationTarget Class

Destination for the finished translated documents.

Inheritance
builtins.object
TranslationTarget

Constructor

TranslationTarget(target_url, language_code, **kwargs)

Parameters

target_url
str
Required

Required. The target location for your translated documents. This should be a container SAS URL to your target container.

language_code
str
Required

Required. Target Language Code. This is the language you want your documents to be translated to. See supported languages here: https://docs.microsoft.com/azure/cognitive-services/translator/language-support#translate

category_id
str
Required

Category / custom model ID for using custom translation.

glossaries
list[TranslationGlossary]
Required

Glossaries to apply to translation.

storage_source
str
Required

Storage Source. Default value: "AzureBlob". Currently only "AzureBlob" is supported.

Variables

target_url
str

Required. The target location for your translated documents. This should be a container SAS URL to your target container.

language_code
str

Required. Target Language Code. This is the language you want your documents to be translated to. See supported languages here: https://docs.microsoft.com/azure/cognitive-services/translator/language-support#translate

category_id
str

Category / custom model ID for using custom translation.

glossaries
list[TranslationGlossary]

Glossaries to apply to translation.

storage_source
str

Storage Source. Default value: "AzureBlob". Currently only "AzureBlob" is supported.