locale->current(); $text = $this->config('site.footer.text', [], TYPE_ARRAY)[$lang] ?? ''; if (mb_strlen(trim(strip_tags(str_replace(' ', ' ', $text)))) > 0) { return $text; } return ''; } }