add translation support to login error