Slovene belongs to the South Slavic group of languages, together with Croatian, Bosnian, Macedonian, Serbian and Bulgarian. Within that group, Slovene belongs to the western subgroup.
It is the official language of the Republic of Slovenia and one of the official languages of the European Union. Slovene is considered one of the hardest European languages to learn, due to its complex grammar and rich vocabulary. In border areas where the Hungarian and Italian minorities live, Hungarian and Italian are also official languages.