 According to the last pre-WWII Yugoslav census, German speakers amounted to 2.5% of the overall population.Former German or bilingual speakers had switched to Slovene, the official language.During World War II, ethnic Germans were resettled from areas occupied by Italy (Ljubljana, Gottschee) into the German-occupied zone.