Demographics of Croatia
Croatian replaced Latin as the official language of the Croatian government in 1847. The Croatian lect is generally viewed as one of the three standard varieties of the Shtokavian dialect of Serbo-Croatian, a South Slavic language. Croatian is written using the Latin alphabet and there are three major dialects spoken on the territory of Croatia, with the Shtokavian idiom used as the literary standard. The Chakavian and Kajkavian dialects are distinguished by their lexicon, phonology, and syntax.
Croats of Slovenia
It seems however that the great majority of Croats living in Slovenia uses Slovene as their primary language of communication.
In 2001, only around 2,700 people spoke either Croatian or a combination of Croatian and Slovene at home, which is a significant decrease from in 1991, when their number was around 10,000.