Set lang to null when it is not given