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.
Shtokavian
Croatian has had a long tradition of Shtokavian vernacular literacy and literature. It took almost four and half centuries for Shtokavian to prevail as the dialectal basis for the Croatian standard. In other periods, Chakavian and Kajkavian dialects, as well as hybrid Chakavian–Kajkavian–Shtokavian interdialects "contended" for the Croatian national koine – but eventually lost, mainly due to historical and political reasons. By the 1650s it was fairly obvious that Shtokavian would become the dialectal basis for the Croatian standard, but this process was finally completed in the 1850s, when Neo-Shtokavian Ijekavian, based mainly on Ragusan (Dubrovnik), Dalmatian, Bosnian, and Slavonian literary heritage became the national standard language.