Set lang to 'en' if it happens to be blank.

As a last-ditch fallback. Addresses #2366.