How did people first figure out other languages? Like did they learn theirs, and then have someone else teach them the way they would teach their children? How did people first figure out what words in foreign languages mean?