fix overwriting of request's locale if attribute _locale is missing