added error message translation