How to translate UI elements in a webchat?
# 🤝help
a
For example we'd like to translate the "Send" buttons, "X time ago" and all the other placeholder texts.
f
@bright-magazine-792 @famous-jewelry-85388 how can we localize the webchat? is there a guide for this?
f
Hi @adorable-noon-65163 are we talking about the Studio or the web chat? I am more of a visual person, can you share a screenshot with me?
b
localizing webchat UI elements is done purely on the front-end and is hard-coded. So you need to catch those classes, modify in styler.botpress.app, and use this stylesheetURL in your botpress admin dashboard.
a
Webchat. I dont think it is possible to change for example the "send" button layout.
b
what do you want to change it to?
And where do you see the "send" text? We've changed all our CSS to be the "Button" instead of "Send" Text
a
Ok, the "Send" is fine. Got that info from our developer too. There still is few things you cant change / translate for example "XXX minutes ago" or "Aug 17, 9.05 PM". Screenshot:

https://i.imgur.com/QkRBnkk.png

6 Views