Austria-Hungary
Demographics

In July 1849, the Hungarian Revolutionary Parliament proclaimed and enacted ethnic and minority rights (the next such laws were in Switzerland), but these were overturned after the Russian and Austrian armies crushed the Hungarian Revolution. After the Kingdom of Hungary reached the Compromise with the Habsburg Dynasty in 1867, one of the first acts of its restored Parliament was to pass a Law on Nationalities (Act Number XLIV of 1868). It was a liberal piece of legislation and offered extensive language and cultural rights. It did not recognize non-Hungarians to have rights to form states with any territorial autonomy.

Article 19 of the 1867 "Basic State Act" (Staatsgrundgesetz), valid only for the Cisleithanian (Austrian) part of Austria–Hungary, said:

All races of the empire have equal rights, and every race has an inviolable right to the preservation and use of its own nationality and language. The equality of all customary languages (" landesübliche Sprachen ") in school, office and public life, is recognized by the state. In those territories in which several races dwell, the public and educational institutions are to be so arranged that, without applying compulsion to learn a second country language (" Landessprache "), each of the races receives the necessary means of education in its own language.

The implementation of this principle led to several disputes, as it was not clear which languages could be regarded as "customary". The Germans, the traditional bureaucratic, capitalist and cultural elite, demanded the recognition of their language as a customary language in every part of the empire. German nationalists, especially in the Sudetenland (part of Bohemia), looked to Berlin in the new German Empire.

The Hungarian Minority Act of 1868 gave the minorities (Slovaks, Romanians, Serbs, et al.) individual (but not also communal) rights to use their language in offices, schools (although in practice often only in those founded by them and not by the state), courts and municipalities (if 20% of the deputies demanded it). Beginning with the 1879 Primary Education Act and the 1883 Secondary Education Act, the Hungarian state made more efforts to reduce the use of non-Magyar languages, in strong violation of the 1868 Nationalities Law. After 1875, all Slovak language schools higher than elementary were closed, including the only three high schools (gymnasiums) in Revúca (Nagyrőce), Turčiansky Svätý Martin (Turócszentmárton) and Kláštor pod Znievom (Znióváralja).

Language was, as a proxy for ethnicity, one of the most contentious issues in Austro-Hungarian politics. All governments faced difficult and divisive hurdles in deciding on the languages of government and of instruction. The minorities sought the widest opportunities for education in their own languages, as well as in the "dominant" languages—Hungarian and German. By the "Ordinance of 5 April 1897", the Austrian Prime Minister Count Kasimir Felix Badeni gave Czech equal standing with German in the internal government of Bohemia; this led to a crisis because of nationalist German agitation throughout the empire. The Crown dismissed Badeni.

Italian was regarded as an old "culture language" (Kultursprache) by German intellectuals and had always been granted equal rights as an official language of the Empire, but the Germans had difficulty in accepting the Slavic languages as equal to their own. On one occasion Count A. Auersperg (Anastasius Grün) entered the Diet of Carniola carrying what he claimed to be the whole corpus of Slovene literature under his arm; this was to demonstrate that the Slovene language could not be substituted for German as the language of higher education.

The following years saw official recognition of several languages, at least in Austria. Since 1867, laws awarded Croatian equal status with Italian in Dalmatia. Beginning in 1882, there was a Slovene majority in the Diet of Carniola and in the capital Laibach (Ljubljana); they replaced German with Slovene as their primary official language. Galicia designated Polish instead of German in 1869 as the customary language of government.

As of June 1907, all public and private schools in Hungary were obliged to ensure that after the fourth grade, the pupils could express themselves fluently in Hungarian. This led to the further closing of minority schools, devoted mostly to the Slovak and Rusyn languages. The two kingdoms sometimes divided their spheres of influence. According to Misha Glenny in his book, The Balkans, 1804–1999, the Austrians responded to Hungarian support of Czechs by supporting the Croatian national movement in Zagreb. In recognition that he reigned in a multi-ethnic country, Emperor Franz Joseph spoke (and used) German, Hungarian and Czech fluently, and Croatian, Serbian, Polish and Italian to some degree.

The language disputes were most fiercely fought in Bohemia, where the Czech speakers formed a majority and sought equal status for their language to German. The Czechs had lived primarily in Bohemia since the 6th century and German immigrants had begun settling the Bohemian periphery in the 13th century. The constitution of 1627 made the German language a second official language and equal to Czech. German speakers lost their majority in the Bohemian Diet in 1880 and became a minority to Czech speakers in the cities of Prague and Pilsen (while retaining a slight numerical majority in the city of Brno (Brünn)). The old Charles University in Prague, hitherto dominated by German speakers, was divided into German and Czech-speaking faculties in 1882.

At the same time, Hungarian dominance faced challenges from the local majorities of Romanians in Transylvania and in the eastern Banat, Slovaks in today's Slovakia, and Croats and Serbs in the crown lands of Croatia and of Dalmatia (today's Croatia), in Bosnia and Herzegovina and in the provinces known as the Vojvodina (today's northern Serbia). The Romanians and the Serbs began to agitate for union with their fellow nationalists and language speakers in the newly founded states of Romania (1859–1878) and Serbia.

Hungary's leaders were generally less willing than their Austrian counterparts to share power with their subject minorities, but they granted a large measure of autonomy to Croatia in 1868. To some extent, they modeled their relationship to that kingdom on their own compromise with Austria of the previous year. In spite of nominal autonomy, the Croatian government was an economic and administrative part of Hungary, which the Croatians resented. In the Kingdom of Croatia-Slavonia and Bosnia and Herzegovina many advocated the idea of a trialist Austro-Hungaro-Croatian monarchy; among the supporters of the idea were Archduke Leopold Salvator, Archduke Franz Ferdinand and emperor and king Charles I who during his short reign supported the trialist idea only to be vetoed by the Hungarian government and Count Istvan Tisza. The count finally signed the trialist proclamation after heavy pressure from the king on 23 October 1918.
startend:end_checker, detectable_format:json_format