Change language of embedded chat, via iframe?

Description

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.

Server Setup Information

  • Version of Rocket.Chat Server: 3.15.1
  • Operating System: Linux
  • Deployment Method: Docket
  • Number of Running Instances: 1

Any additional Information

Hey man, beyond the commands in the following link, I don’t think you can change much directly via the iframe.
Iframe integration: Sending commands - Rocket.Chat Developer

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;
})

I just had a look at the REST calls and don’t think such a functionality exists though:
REST API - Rocket.Chat Developer

Thanks. I’ll create a ticket and see if there is any interest to add support for this.