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.
Languages of Slovenia
The population of Slovenia has become more diverse in regard to its language through recent decades but is still relatively homogenous — Slovene was in 2002 the first language of 87.8% of the inhabitants. It was followed by Croatian (2.8%), Serbian (1.6%) and so-called Serbo-Croatian (1.6%). Italian and Hungarian language, protected by the Constitution of Slovenia, had lower numbers of native speakers.