@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'); $showRelated = setting('language_show_default_item_if_current_version_not_existed', true); @endphp @if (setting('language_switcher_display', 'dropdown') == 'dropdown')