Fixed wrong error message formatting for multilingual components when an input name contains several words.
Eg. with a last_name input name => The error The last name.en field is required. will now display like following: The Last name (EN) field is required. (supposing you have translated the last_name field in the validation.attributes).
last_name
input name => The errorThe last name.en field is required.
will now display like following:The Last name (EN) field is required.
(supposing you have translated thelast_name
field in thevalidation.attributes
).