def get_language():
t = getattr(_active, '<STR_LIT:value>', None)<EOL>if t is not None:<EOL><INDENT>try:<EOL><INDENT>return t.language<EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>return DEFAULT_LANGUAGE<EOL>
Return the currently selected language.