Croatian language
Croatian grammar books show that the codification of the language started at the beginning of the 17th century (the first grammar was written by Bartol Kašić in Latin in 1604). This means that the rules for the language were written down. From 1604 to 1836 there were 17 grammars. Most of them described the Štokavian dialect, but some were about Kajkavian. In the 19th century, more grammars based on Štokavian were written. They were "Nova ricsoslovnica illiricka", written by Šime Starčević (1812), and "Grammatik der illyrischen Sprache", written by Ignjat Alojzije Brlić (1833),. Even before the 19th century, the three dialects of the Croatian language were almost equally used. However, the way each dialect was written down varied throughout Croatia. Near the Adriatic coast, it was more similar to Italian, and near the Hungarian border, it was more similar to Hungarian.