The community member is facing an issue with accessing the window object for inline JavaScript injection using a text bubble, and they are looking for a better way to handle multiple languages. The comments suggest that using the "Set variable" block with the "Execute on client" option may be a better approach, as the code is evaluated on the server side. The community member also mentions that they managed to tackle the issue by creating a separate typebot to get the localized text, without having to access the window object.
is window not accessible for inline javascript injection using text bubble
Use case: multiple languages (if there is a better way let me know, currently i am setting a single variable using setblock and getting value to it but as you think, it is not efficient and clean at all)