add translation error logging