{{ str_replace(['_', '-'], ' ', $key) }} @php if (count($parents)) { $parents_array = implode('.', $parents); $string_text = trans($lang_file_name . '.' . $parents_array . '.' . $key); } else { $string_text = trans($lang_file_name . '.' .$key); } echo htmlentities($string_text); @endphp @if (preg_match('/(\|)/', $item)) @php $chuncks = explode('|', $item); @endphp @foreach ($chuncks as $k => $chunck) @php preg_match('/^({\w}|\[[\w,]+\])([\w\s:]+)/', trim($chunck), $m); @endphp @if (empty($m))
@else
@endif @endforeach @else
@endif