@hep.over('<STR_LIT>', '<STR_LIT>')<EOL>def languages(self, key, value):
languages = self.get('<STR_LIT>', [])<EOL>values = force_list(value.get('<STR_LIT:a>'))<EOL>for value in values:<EOL><INDENT>for language in RE_LANGUAGE.split(value):<EOL><INDENT>try:<EOL><INDENT>name = language.strip().capitalize()<EOL>languages.append(pycountry.languages.get(name=name).alpha_2)<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT><DEDENT>return languages<EOL>
Populate the ``languages`` key.