Using Amazon Translate with Python and Node.js

This is the 8th project in my Twenty Projects in Twenty Days series! In this project, we’ll look at how to use Amazon Translate with Python using Boto3 and with Node.js using the AWS SDK for JavaScript. We’ll translate our first text in under 10 lines of code so let’s get started! You can copy the code from the GitHub repo here.

Amazon Translate Custom Terminologies

Let’s take a look at how we can use Amazon Translate, including using custom terminologies to customize our translations with specific vocabulary between languages.

In this case, let’s imagine I’m translating marketing speak between languages for my cloud consulting company Stormlight Consulting. I’d like to translate the text I’ve already written in English for a Spanish speaking audience.