@php
$supportedLocales = Language::getSupportedLocales();
if (empty($options)) {
$options = [
'before' => '',
'lang_flag' => true,
'lang_name' => true,
'class' => '',
'after' => '',
];
}
@endphp
@if ($supportedLocales && count($supportedLocales) > 1)
@php
$languageDisplay = setting('language_display', 'all');
@endphp
@if (setting('language_switcher_display', 'dropdown') == 'dropdown')
{!! Arr::get($options, 'before') !!}
{!! Arr::get($options, 'after') !!}
@else
@endif
@endif