The Quarantine was a scanning unit in use in the alternate reality. It incorporated the functions of a universal translator and other devices to provide information about individuals, including their physiology.
The Yorktown had such a unit. In 2263, the "rescued" alien Kalara was scanned with it upon her being transported aboard the Yorktown from her escape pod. It automatically translated her unknown language into English. (Star Trek Beyond)