Different languages chatbots

Hello everyone, I actually made 3 chatbots under 3 different languages and i integrated them within a website via socketio. But, by changing the language of the website, the content of the previous language’s chatbot appears in the content of the new one. Knowing that i need to keep the history of my 3 chatbots, please help me solve this problem. Thank you in advance.