Hi Botpress community!
I'm working on integrating the webchat into a Nuxt 3 application and I'm struggling to dynamically set the UI language, based on the users selected language of choice in our system. My goal is to set the language to Czech, or English based on a user preference I read from a cookie.
In order to be able to do that I would have to be able to change the lang value inside the Iframe, so that the CSS styles, that I have written in the themes work when they are supposed to and can overwrite english text. However I am unable to do that. Is there any way to set it up in the init file, so that I can change the language, when I need to? Is there any solution? Did anyone figure out how to pass some prop inside the iframe, so that the CSS can overide the default english text, when we need it? Tank you in advance guys.