Slovene was one of the official languages of the federation .
It is one of the official languages in the EU .