gloss_dict dictionary creation now depends on selected language