Found in translation — going multilingual with serverless

James Beswick
Aug 7 · 8 min read
Graphic credit: FreePik.

Getting started

How it works

Configuring the Lambda function

{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "arn:aws:s3:::your-bucket-name/*"
},
{
"Effect": "Allow",
"Resource": "*",
"Action": [
"translate:*",
"comprehend:DetectDominantLanguage",
"cloudwatch:GetMetricStatistics",
"cloudwatch:ListMetrics"
]
}
]
}

Testing the function

Text credit: Wikipedia.

Avoiding infinite loops

Use-cases for automatic translation

Conclusion

James Beswick

Written by

Building on serverless products at AWS. Developer advocate, product manager, software wrangler, writer and speaker. Opinions here are my own.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade