The problem is that the age of nationalism coincided with the rise of public education, which was a huge factor in language shift across Europe. Before you have universal public education, you have no easy way of peacefully getting people to stop speaking what they've always spoken.