Remove API error message duplication from Translate and UploadWizard into core.