Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Hey!
First, in config/app.php change:
Secondly, in the resources/lang path, create the ru folder. And then throw these files there: https://github.com/caouecs/Laravel-lang/tree/maste...
You can describe your mistakes inside the files.
You can send messages directly toValidator
$messages = array(
'required' => 'Поле :attribute должно быть заполнено.',
);
$validator = Validator::make($input, $rules, $messages);
app/lang/xx/validation.php
'custom' => array(
'email' => array(
'required' => 'Нам нужно знать ваш e-mail адрес!',
),
),
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question