Hay i add translate for attribute
This is my attribute output from cache
'validation.attributes.username' => 'שם משתמש',
'validation.attributes.password' => 'סיסמה',
'validation.attributes.email' => 'כתובת מייל',
'validation.attributes.title' => 'כותרת',
'validation.attributes.content' => 'תוכן',
'validation.attributes.name_singular' => 'שם יחיד',
'validation.attributes.name_plural' => 'שם ברבים',
'validation.attributes.tag_count_primary' => 'מספר תגיות ראשיות',
'validation.attributes.tag_count_secondary' => 'מספר תגיות משניות',
'validation.attributes.nickname' => 'כינוי',
src/vendor/illuminate/validation/Concerns/FormatsMessages.php
line: 266
protected function getAttributeFromTranslations($name)
{
return Arr::get($this->translator->trans('validation.attributes'), $name);
}
This function did not return the array of translate validation.attributes.
so it give me all the time null