Need Help. Issue with character voicing in several languages FMOD+UE

Guys, maybe someone can help:

I'm working in FMOD with UE5.4.

In our game the main character will have a voiceover in 2 languages.

Here while everything is clear - you make an event with 2 tracks.

the first language, the second language. make a parameter and mute one or the other track depending on the selected language.

The difficulty is that we have a hero's speech is duplicated by subtitles and they must disappear at the moment when the speech ends.

When you work with one language, the UE can take the length of the asset in seconds from the event, and so you can easily synchronize the voiceover and subtitles, but when the event is 2 different voices on different tracks, it takes the length of the longest asset in the event but not the one that is now active, so there are problems with synchronization. Is there any variants how to fix it? to make different events for different languages is not an option.

Thanks in advance!