#16 fixed function which generates the list of language abbreviations and long-forms