How to correct error message translation?