There are certain universal ideas and concepts common to all intelligent
life. This device [the universal translator] instantaneously compares
the frequency of brain wave patterns, selects those ideas and concepts
it recognizes, and then provides the necessary grammar.
Then it simply translates its findings into English.
-- Kirk and Spock, "Metamorphosis," stardate 3219.8