ellos enfrentaron dificultades para entender estos idiomas, would be translation word by word, as the verb face, translated to spanish would be enfrentar in this situation. Yet, in order to sound more natural i would just say, tuvieron dificultad(o dificultades) para entender estos idiomas.