translate task type