Listener to detect language change/animation manipulation

Hello, I am developing sequenced animations with different timelines on a multilingual website. However, I noticed that when the language changes during the execution of the animations, somehow the sequence is totally broken.

I searched the API and found no specific listener to detect the language change … is there any way to control this without having to force the page refresh and reset everything?

I tried with onChange but it didn’t work and I expected it, since it is a static page (the home page), without requests or changes in sub items to be detected by the Location object.

Controlling this event would be very useful for handling other things depending on the language change, although in the case of the animation I described I don’t need it. I would just like the execution to proceed normally or even restart the animation if necessary.

Thanks in advance for any kind of clue about it.

Well, I’m going to share the palliative solution I’ve adopted if it helps someone in the future.

Using the onStart and onComplete timeline listeners, I control the display of the language menu and make it invisible when the animation starts and visible only when it ends :-/