Yes, but just like the Hungarians and the French, these two peoples also lived close together, and were culturally and socially involved with one another, even if they spoke completely unrelated languages. Its the same in India as well, there are about 3 different language families spoken in India, but they largely share the same cultural heritage.