How would go about to update multiple components when using
I’ve got a button that lets you switch between languages and it has to
update every component in my application (like, let’s say: the main
screen, the top navigation bar and the search bar). Each component is
created in a different DIV and whenever the language is switched, the
entire application should reflect the change.
Using update_element_function is pretty much out of the equation because
I can’t specify a controller/action for content (instead of ugh just
plain html). Same goes for using rjs.