Improved error reporting of translate action.