For example I have validation of HTML form:
$validator = Validator::make($request->all(), [
"code" => "required|string|size:10"]);
If I get error it look as:
The code field is required.
Wrere code
is name of field.
How can I translate(localize) this?