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.
Vlachs in the history of Croatia
Socioculturally, there were two main ethnic divisions in the Croatian Military Frontier, those of the "native" "Croats" and "immigrant" "Vlachs". The Croats were Catholics, Habsburg subjects, made up of an agrarian population concentrated around frontier towns, of nuclear families, and linguistically predominantly Chakavian-speaking (or Chakavian-based speech). The Vlachs were holders of patriarchal-pastoral culture of the Dinaric, refugees from Ottoman and Venetian territories, of extended families, and linguistically Neo-Shtokavian-speaking.