How does real-time translation function?

The older variations of this technology would first convert the speech into a message, and then translate it into the wanted language. However, with the…