Run translation function when run