Procedures
Automation procedures in the Azure Translator BDK Book.
Make sure to add the Azure Translator BDK Book to your agent before using these automation procedures.
to translate a document to a language
Translate a document to a language
Input Concepts
Concept
Description
Type
Required
Default Value
language
The language to translate the document to
text
Yes
(no default)
The target folder to store the translated document
azure folder reference
Yes
(no default)
Output Concepts
Concept
Description
Type
Examples
Translate a document to a language
get a folder at "container_name/docs"
get the folder's item whose path prefix is "document.txt"
get a folder at "container_name/translated_docs"
use the above as the second folder
translate the document to "spanish" with
the target folder is the second folder
Last updated
Was this helpful?