Amazon Translate is a neural machine translation service that delivers fast, high-quality, and affordable language translation. Amazon Translate can be utilized to localize content - such as websites and applications - for international users, and to easily translate large volumes of text efficiently.
Sigma IDE currently supports the following text translation related operations via AWS Translate resource component.
To use Translate operations from a Lambda function, first drag a Translate resource from the resources panel and drop on the required line of the lambda code editor. Then on the configuration panel, select the desired Operation.
Translate Text operation can be used to translate a text from the source language to the target language. Following are the fields related to this operation.
Field | Required | Supports Variables | Description |
---|---|---|---|
Text | The text to translate which can be a maximum of 5,000 bytes long | ||
Source Language | The language of the input text, which can be either selected from a pre-defined set of languages, or a custom language code can be provided. In case the language is selected as Auto, Translate will determine the source language using Amazon Comprehend. |
||
Target Language | The language of the translated text, which can be either selected from a pre-defined set of languages, or a custom language code can be provided. | ||
Terminology Names | The list of the terminologies to be used for the translation |
List Terminologies operation can be used to list the custom terminologies associated with your AWS account. Following are the fields related to this operation.
Field | Required | Supports Variables | Description |
---|---|---|---|
Max Results | The maximum number of custom terminologies to be returned | ||
Next Token | If the previous result of the request was truncated, the token to fetch the next group of custom terminologies |
Get Terminology operation can be used to retrieve a custom terminology associated with your AWS account. Following are the fields related to this operation.
Field | Required | Supports Variables | Description |
---|---|---|---|
Terminology Name | The name of the custom terminology to be retrieved | ||
Data Format | The data format of the custom terminology being retrieved, either CSV or TMX |
Delete Terminology operation can be used to remove a custom terminology from your AWS account. Following are the fields related to this operation.
Field | Required | Supports Variables | Description |
---|---|---|---|
Terminology Name | The name of the custom terminology to be removed |
Import Terminology operation can be used to create or update a custom terminology, depending on whether or not one already exists for the given terminology name. Importing a terminology with the same name as an existing one will merge the terminologies based on the chosen Merge Strategy. Following are the fields related to this operation.
Field | Required | Supports Variables | Description |
---|---|---|---|
Merge Strategy | The merge strategy of the custom terminology being imported. Currently, only the OVERWRITE merge strategy is supported. | ||
Terminology Name | The name of the custom terminology being imported | ||
Description | The description of the custom terminology being imported | ||
Terminology Data | The content of the file containing the custom terminology data | ||
Terminology Data Format | The data format of the custom terminology. Either CSV or TMX | ||
Encryption Key | Whether to associate an encryption key with the custom terminology | ||
Encryption Key Type | The type of encryption key to encrypt the custom terminology (Only applicable if the Encryption Key is enabled) |
||
Encryption Key ID | The ARN of the encryption key to encrypt the custom terminology (Only applicable if the Encryption Key is enabled) |