handle get_language_name expecting a dict, but getting a string from get_code2lang