Add function to set allowed languages in german format