Season 2 Episode 15 - The Fifth Race
SG-1 travel to an ancient room that houses alien inscriptions in an attempt to decode alien languages discovered by a probe. When O'Neill peers through a viewer in the ancient room, he is caught momentarily in its grasp and shortly after alien words begin appearing in his speech.