 There are three major dialects spoken on the territory of Croatia, with standard Croatian based on the Shtokavian dialect.The Chakavian and Kajkavian dialects are distinguished by their lexicon, phonology and syntax.Croatian replaced Latin as the official language of the Croatian government in the 19th century.