In the very beginning when there were no translators or dictionaries, how was this done?
Language immersion. Given enough time, humans will naturaly pick up on different words and then thier meaning. People still use this today to learn new languages without any sort of formal training.