unshift lang to prepend to categories array, closes #766