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.
Bosnian language
The Bosnian language (; "bosanski" / босански ) is the standardized variety of Serbo-Croatian mainly used by Bosniaks. Bosnian is one of three such varieties considered official languages of Bosnia and Herzegovina, along with Croatian and Serbian, and also an officially recognized minority or regional language in Serbia, Montenegro, and the Republic of Kosovo.