def do_get_current_language(parser, token):
    args = token.contents.split()
    if len(args) != 3 or args[1] != 'as':
        raise TemplateSyntaxError("'get_current_language' requires 'as variable' (got %r)" % args)
    return GetCurrentLanguageNode(args[2])
Parses the given :class:`~email.message.Message` to
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/django/templatetags/i18n.py/do_get_current_language--crossover with--dataset/ETHPy150Open slimta/python-slimta/slimta/envelope.py/Envelope.parse_msg