Added try catch on translate