get the api code values( login..) through the translate service.
also translate the default loginErr message in the login controller