Amazon Translate – Natural and fluent language translation
Fast, high-quality, and affordable neural machine translation service
Amazon Translate removes the complexity of building translation capabilities into your applications with a simple API call. This makes it easy to localize an application, or process multilingual data within your existing workflows. The neural translation engine is always learning from new and expanded datasets to produce more accurate and fluent translations for a wide range of use cases.
Setup
Login or Register to Admin Portal
Select Functions
Select your desired App and Keyset
Select "Explore Templates" and proceed with selected integration.
Create an account with AWS
Grab the AWS_access_key and AWS_secret_key - you will need these details to complete configuration of this integration
Select this template by using 'Use Template' button
Assign the module and keyset under which the integration should run
Configure
AWS_secret_key
andAWS_access_key
Confirm the configuration
Review the code and if it looks ok - start the function
Walkthrough:
This PubNub Functions listens for all chats and allows translation even in private chats.
To trigger translation, event payload should contain 'translate' field in it with following keys: - location - name of key in event payload, which contain data for translation - source - code of language from which passed message should be translated - target - code of language to which passed message should be translated
Input:
1
Output:
1