@php $languages = Language::getActiveLanguage(['lang_id', 'lang_name', 'lang_code', 'lang_flag']); @endphp @if (count($languages) > 1) {{ trans('plugins/language::language.translations') }}: @foreach ($languages as $language) @if ($language->lang_code !== Language::getCurrentAdminLocaleCode()) {!! language_flag($language->lang_flag, $language->lang_name) !!} {{ $language->lang_name }}   @endif @endforeach @endif