Open pkrobak opened 6 years ago
Maybe it's not issue, but this is a little problematic.
If you want to translate validation you wont to insert translate for each attribute. Maybe there is a way to give one translation ?
To give you better knowlage what I mean:
You have a few fields in your form like : name, and lastname There is translation for this: 'digits' => 'The :attribute must be :digits digits.',
'digits' => 'The :attribute must be :digits digits.',
When you do validation in laravel you want to return
The :attribute must be :digits digits.
Instead of
The name must be :digits digits. and The lastname must be :digits digits.
The name must be :digits digits. and
The lastname must be :digits digits.
To have in your *.po file just one row translation
Maybe it's not issue, but this is a little problematic.
If you want to translate validation you wont to insert translate for each attribute. Maybe there is a way to give one translation ?
To give you better knowlage what I mean:
You have a few fields in your form like : name, and lastname There is translation for this:
'digits' => 'The :attribute must be :digits digits.',
When you do validation in laravel you want to return
Instead of
To have in your *.po file just one row translation