Chat translation by Google Translate API

It would be great if you could use the chatbot to automatically translate incoming messages, for example.

The bot should then be able to capture the message entered by the user, translate it and output it again. For example, users write in English and the bot should then output everything that is entered in English in German.