How can i translate all messages (user's and bot's)?

Hi,

I want to translate the user’s and bot’s messages if a specific condition is satisfied. how can I do that?

Thank’s.

1 Like

Hi @mellahysf. Potentially, you could do that with custom actions. Could you tell a bit more about the conditions you would be checking for the messages to be translated?

Thank you @Juste for your reply !!

I’m built a chatbot in english but I want to use the same model with french as follow.
The bot send the first message asking the desired language (like: “choose the language” and with 2 buttons “englich” and “french”). and according to the clicked button by the user:
-If the user click on “English” : the conversation works normally
- If the user click on “French” : translate user’s inputs messages from french to english and handle the message by the english model then translate the bot’s messages from english to french.

Can you tel me please how to do that ?