Nationalism itself has a lot to do with cultural differences. Especially Czech nationalism.
> empires who succeed in holding on to capture territory are often those that absorb and incorporate the culture of the people they conquered
Well I didn't notice a lot of Germans and Austrians speaking Czech, to be honest.
I wouldn't be so sure about that. Frequently the conqueror gets culturally influenced by the people they conquer - especially 100+ years ago where totalitarian levels of control were much harder to implement.
Also when your people repelled the Germans, it might have more to do with cultural differences than nationalism - empires who succeed in holding on to capture territory are often those that absorb and incorporate the culture of the people they conquered.