@php $hasLanguageSwitcher = false; @endphp @if (is_plugin_active('language')) @php $supportedLocales = Language::getSupportedLocales(); @endphp @if ($supportedLocales && count($supportedLocales) > 1) @if (count(\Botble\Base\Supports\Language::getAvailableLocales()) > 1) @php $hasLanguageSwitcher = true; @endphp

{{ __('Languages') }}: @foreach ($supportedLocales as $localeCode => $properties) {!! language_flag($properties['lang_flag'], $properties['lang_name']) !!} {{ $properties['lang_name'] }}   @endforeach

@endif @endif @endif @php $currencies = get_all_currencies(); @endphp @if ($currencies->count() > 1) @if ($hasLanguageSwitcher) |   @endif

{{ __('Currencies') }}: @foreach ($currencies as $currency) id) class="active" @endif >{{ $currency->title }} @if (!$loop->last) - @endif @endforeach

@endif