Move _parse_lang() back to administration view, it's only used there now