Error catching for translations