This function fills the associative array
arr with the list of language dictionaries which are used by spell checking and the thesaurus. The array is indexed by the language name (see the
set language command) and the values are the language descriptions shown by the user interface. The number of entries in the array is returned.