Dialects of Serbo-Croatian
Kajkavian is spoken in North Croatia, including the capital Zagreb, as well as in a few enclaves in Austria, Hungary, and Romania. Though its speakers are ethnic Croats and Kajkavian is thus generally considered a dialect of Serbo-Croatian, it is closer to neighboring Slovene than it is to Chakavian or Shtokavian. The Kajkavian area of Croatia is bordered on the northwest by Slovene language territory. It is bordered on the east and southeast by Shtokavian dialects roughly along a line that was the former division between Civil Croatia and the Habsburg Military Frontier; in southwest along Kupa and Dobra rivers, it persisted in ancient (medieval) contact with Chakavian dialects.
Croatian language
The Illyrian movement was a 19th-century pan-South Slavic political and cultural movement in Croatia that had the goal to standardize the regionally differentiated and orthographically inconsistent literary languages in Croatia, and finally merge them into a common South Slavic literary language. Specifically, three major groups of dialects were spoken on Croatian territory, and there had been several literary languages over four centuries. The leader of the Illyrian movement Ljudevit Gaj standardized the Latin alphabet in 1830–1850 and worked to bring about a standardized orthography. Although based in Kajkavian-speaking Zagreb, Gaj supported using the more populous Neo-Shtokavian – a version of Shtokavian that eventually became the predominant dialectal basis of both Croatian and Serbian literary language from the 19th century on. Supported by various South Slavic proponents, Neo-Shtokavian was adopted after an Austrian initiative at the Vienna Literary Agreement of 1850, laying the foundation for the unified Serbo-Croatian literary language. The uniform Neo-Shtokavian then became common in the Croatian elite.