User Message Translate Using CustomActions

Hello,

My team and I are creating a chatbot for a project. We want the user to have the ability to write and send messages in Spanish, and our RASA chatbot to translate it to English to map with our intents (English) and send the responses (English). I will use google trans library (python) for it.

I am not sure how to write a custom action for it!! Any help would be appreciated, Thanks!

1 Like

Hey @Eraj, actually I would build a custom NLU component to handle the translation instead of a custom action. Our documentation shows how to do this… let me know if you have any questions!

1 Like