From From Peoples into Nations: A History of Eastern Europe, by John Connelly (Princeton University Press, 2020), Kindle pp. 287-289:
In much of East Central Europe, landowners or bosses were of a foreign nationality, and nationalists exploited a sense of economic oppression to spread national consciousness to the masses. For example, in the Czech lands, owners of factories or manors tended to be German, and the Czech movement accordingly defined Czech identity as anti-German. In Bosnia, the landowner was Muslim; in Slovenia, German; and in much of Croatia, Hungarian. In 1800, Prague and Brno, but also Budapest, Bratislava, Ljubljana, and Zagreb, were German-speaking cities. The German was an enemy against whom the self was clearly defined and who was then displaced from culture, business, politics, and all traces of the new standard version of the national language.
In central Poland, the landowners as well as peasants were Polish-speaking. The cities and towns, however, had mixed populations, mostly Polish, but there were also many Jews, who spoke their own language and pursued walks of life that were distinct: trade, commerce, money-lending, and small crafts. Jews often bought cattle and grain, made credit available to peasants, or ran the local inn. Nationalists thus had an opportunity: they could use anti-Semitism to convince village folk that Jews were foreign, and that as ethnic Poles, the villagers belonged to the same nation as Polish townspeople and gentry. They told poor villagers that their problem was not lack of land, education, or farming implements but the “alien” Jewish presence in nearby towns. As restrictions on Jewish ownership eased from the 1870s, Jewish families began competing with small farmers to buy up the land of impoverished gentry, and by 1912, they controlled 20 percent of the agricultural land in Galicia. Arguments that presented these inroads as unfair Jewish advantages in the economy convinced peasants that they shared a common identity with Polish landlords.
Gradually the national idea caught on among peasants, even those who had been alienated from all talk of nation and felt that the court in Vienna was their protector. Beginning in the latter decades of the century, peasants participated more actively in local self-government and took a stronger role in national life, and that also meant heightened circulation among them of nationalist arguments. Catholic priests contributed a debased and opportunistic reading of their faith to serve the cause. One wrote that a Pole who was not an anti-Semite “has no right to call himself a good Catholic or a good Pole, and cannot be a good patriot.” The Polish national movement created “Christian” institutions to strengthen “Polish” ownership in the economy (the equivalent of the Bohemian nationaler Besitzstand was polski stan posiadania), and soon there were Christian shops, Christian lending institutions, and Christian pubs, all of which had the function of linking Poles across classes in village and city and promoting upward social mobility for co-ethnics.
But even so, the inculcation of Polish nationalist narratives in the village was not easy. Before World War I, many peasants still uttered curses when the name Poland was mentioned because they associated Poland with the “lords.” And when they embraced national consciousness, peasants and their political movements claimed to do so in a way all their own, saying that national culture was unspoiled in the villages, in contrast to the towns, where the gentry had absorbed foreign ideas about states and laws. In the early twentieth century, leading Polish intellectuals bought those arguments and developed their own cult for the genuine Polishness of villagers, even seeking peasant brides.