Hi, I want to know if it possible to change the bot language based on the detected language of the user input?
In the main flow of my chatbot, I give the user choose the language that he want to chat with. So, I want to build an action (not a hook) that change the bot language based on the user choice.
I want to know how to change the bot language in an action?
You can find an example for an action here https://github.com/botpress/botpress/pull/2392/files#diff-38cd76040f8a7989baebfdf3cf72de93
@spgin, thanks for your response. I tried this but the language still English after applying the action.
Here is what the debug window display: