Fix error message
Add check for translation failure