# Translate
Category: AWS
| Runtime: 1.0+
| Available: Free
# Overview
Translate node by Kumologica integrates with Amazon Translate (opens new window) service for translating a given text content to a specified target language.
# Setup
# Prerequisites
For Translate node to work properly, you need to have a valid subscription of AWS cloud account. Ensure to have an Access credentials (opens new window) generated for the node to connect with the Translate service associated with the account.
# Installation
To install the node from designer:
- Go to Add more nodes option on the palette section.
- Check for the Amazon Translate node and click install.
- Once installed, the designer is required to be restarted.
To install the node from CLI:
- Go to your project workspace where you can see your
package.json
file. - Run the below give npm command.
npm i @kumologica/kumologica-contrib-awstranslate
# Technical Details
Properties
- Source language Code (Optional)
Language code associated with the text string to be translated. If not sure about the language, you may selectauto
which identify the language code based on the text content. - Target language Code (Optional)
Language code to which the content needs to be translated. - Text content (Required)
Text content to be translated. - Access Key (Optional)
AWS access Key for connecting the translate service. - Access Secret (Optional)
AWS access secret for connecting the translate service.
Supported Operations
NA
Throws
Translate node throws the following exception.
- AWSTranslateErrorResponse
- AWSClientError
Returns
Payload will be overwritten by the response from the node.
Payload can be accessed on the subsequent node using msg.payload
and translated content can be access using msg.payload.TranslatedText
.