@foreach (LaravelLocalization::getSupportedLocales() as $localeCode => $properties) @if (in_array($localeCode, explode(',', $settings_two->languages))) {{ country2flag(substr($properties['regional'], strrpos($properties['regional'], '_') + 1)) }} {{ $properties['native'] }} @endif @endforeach