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.
Šokac
Šokac ("Šokački jezik") was a language listed in Austro-Hungarian censuses. Population censuses performed in Austria-Hungary recorded the native language of the citizens, whereby Šokac was declared as native language to one part of the population, presumably members of the Šokci ethnic group. According to the 1910 census, the speakers of Šokac were recorded in the Bačka-Bodrog County, in the municipalities of Apatin, Baja, Odžaci, and Palanka. Although, not very different from Croatian or Serbian Shtokavian speech, Šokac could be identified along with Slavonian subdialect of the "old-Štokavian" speech. Today, most of the members of the Šokci community declare themselves as Croats in the census, and their language as Croatian or Serbian.