0

I want to move all validation.php custom error messages to another file, so how do i change the default file name (app/lang/en/validation.php) to use custom filename. when i move the error message to another file, instead of the actual error message I get "validation.required" message i found that the code resides in /Illuminate/Validation/Validate.php

function getMessage($attribute, $rule) {
     $key = "validation.{$lowerRule}";
}

i want to change the above code without touching the core file, can someone helpme please

sam
  • 271
  • 6
  • 23

0 Answers0