The two official languages of Afghanistan are Pashto and Dari. Both are Indo-European languages from the Iranian languages sub-family. Other regional languages, such as Uzbek, Turkmen, Balochi, Pashayi and Nuristani are spoken by minority groups across the country. In 1980, these languages were granted official status in the regions where they are the language of the majority. For more information you can refer this link.