'Resolve this variable against a given context.'

def resolve(self, context):

    if (self.lookups is not None):
        value = self._resolve_lookup(context)
    else:
        value = self.literal
    if self.translate:
        return ugettext_lazy(value)
    return value
