Š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.
The Slavonian subdialect is spoken by Šokci who live in some parts of Slavonia, Bačka, Baranja, Syrmia, in eastern Croatia, northern Serbia (Vojvodina), and Hungary, as well as in northern Bosnia. The Slavonian subdialect has mixed Ikavian and Ekavian pronunciation. Ikavian accent is predominant in the Posavina, Baranja, Bačka, and in the Slavonian enclave of Derventa and Orašje, while Ekavian accent is predominant in Podravina. There are also enclaves of one accent in the territory of the other, as well as mixed Ekavian–Ikavian and Jekavian–Ikavian areas. In some villages in Hungary, the originalyat is preserved. Local variants can widely differ with the degree of neo-Štokavian influence.