botfront / rasa-webchat

A feature-rich chat widget for Rasa and Botfront
https://botfront.io/rasa
Apache License 2.0
948 stars 496 forks source link

¿Can I change the parameter language that goes in customData to the widget, without recharging the page? #432

Closed andrebernardezbrana closed 2 years ago

andrebernardezbrana commented 2 years ago

I want to be able to communicate with the bot in two languages, so changing this parameter solves it. The problem is that the page needs to be reloaded for it to be possible. I'm using React and using a variable as a parameter with useState() doesn't work. I think because such parameter is only used for connection but not for rendering anything.

¿Any help?

amritpal7 commented 2 years ago

How are you able to change the language, can you pls show your code where you made changes.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.