For decades, shows like “Star Trek” and novels like “The Hitchhikers Guide to the Galaxy” have showcased fictional universal translators, capable of seamlessly converting any language into English and vice versa.

Now, those gadgets once limited to works of science fiction are inching close to reality.

During its iPhone unveiling event on Tuesday, Apple

included a video of many travelers’ dream scenario. It showed an English-speaking tourist buying flowers in an unnamed Spanish-speaking country. The florist addressed the tourist in Spanish, but what the tourist heard was in clear, coherent English.

The video was marketing material for Apple’s latest AirPods Pro 3, but the feature is one of many of its kind coming from tech companies that also include Google parent Alphabet