delete translation function