Changed request.lang to request.language.