We have an instance of rocket chat embedded in an iframe. The parent page allows the user to change language and we would like to have that language change reflected in the rocket chat UI.
Is there any way to tell rocket chat what language it should be displaying in? I didn’t see any query params or any events that would allow me to do this.
What you could do however, is see if their REST API allows you to change what you want then reload your iframe via
<Rest call to change language here if possible>.then(success => {
const chat = document.getElementById('<your iframe element id here>')
chat.src = chat.src;
})