added translate function, added client error message on incomming command vallidtaion fail