Ensure system language is released in dark lang middleware

LMS-2644