Added translation for error messages