Nationalism is a 19th Century European invention, rooted in romanticism. Before then, we had multi-ethnic states ruled by monarchs who often spoke languages different from their subjects.
You are right. And this Republic made some success of nationalism because it was founded on and committed to such romantic things as "ideals and principles".