Laravel-excel: [QUESTION] Change Validation Messages from multiple failures

Created on 29 May 2020  路  2Comments  路  Source: Maatwebsite/Laravel-Excel

Prerequisites

  • [ X ] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
  • [ X ] Able to reproduce the behaviour outside of your code, the problem is isolated to Laravel Excel.
  • [ X ] Checked that your issue isn't already filed.
  • [ X ] Checked if no PR was submitted that fixes this problem.
  • [ X ] Filled in the entire issue template

Versions

  • PHP version: 7.4.6
  • Laravel version: 6,2
  • Package version: 3.1

Description


How can i change all validation messages? using customValidationMessages doesnt change There was an error on row message, just change the words afterwards. i can change it from vendor, but this will not be good right?
Thanks

Steps to Reproduce


use customValidationMessages to change Validation Messages

Expected behavior:


Change all words from Validation messages

Actual behavior:


Doesnt change There was an error on row from Validation messages

Additional Information

Any additional information, configuration or data that might be necessary to reproduce the issue.

question

Most helpful comment

That message is translatable in the {lang}.json file:

There was an error on row :row. :message

All 2 comments

That message is translatable in the {lang}.json file:

There was an error on row :row. :message

Thanks, it works

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lucatamtam picture lucatamtam  路  3Comments

wwendorf picture wwendorf  路  3Comments

contifico picture contifico  路  3Comments

kurianic picture kurianic  路  3Comments

vandolphreyes picture vandolphreyes  路  3Comments