Language Detection

Automatic language detection has been added to detect the language of a user message at the beginning of a conversation.

This utilizes Google's Translation API by sending the user input and obtaining the language code. Based on this language code, a custom message is presented in the detected language.

How to test?

Simply send a message in another language.

Custom messages are available in Spanish, Polish, Arabic, German and Greek.

If English is detected, a message will show that the English language is detected and continue to match an intent.

Examples