translate model errors