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.
Slovenia
A significant number of people in Slovenia speak a variant of Serbo-Croatian (Serbian, Croatian, Bosnian, or Montenegrin) as their native language. These are mostly immigrants who moved to Slovenia from other former Yugoslav republics from the 1960s to the late 1980s, and their descendants. In 2002, 0.4% of the Slovenian population declared themselves to be native speakers of Albanian and 0.2% native speakers of Macedonian. Czech, the fourth-largest minority language in Slovenia prior to World War II (after German, Hungarian, and Serbo-Croatian), is now the native language of a few hundred residents of Slovenia.