The official language of Thailand is Thai, a Kra–Dai language closely related to Lao, Shan in Myanmar, and numerous smaller languages spoken in an arc from Hainan and Yunnan south to the Chinese border. It is the principal language of education and government and spoken throughout the country. The standard is based on the dialect of the central Thai people, and it is written in the Thai alphabet, an abugida script that evolved from the Khmer alphabet.