Our service uses Comprehend and Translate in combination. Comprehend is used to detect the language in our message, and Translate is used to convert to English if the detected language requires it. The next listing shows the relevant calls from the source code.