Call getLanguage function from class Languages that works.