Default flag for English

This commit is contained in:
Miguel Nogueira 2020-09-02 19:32:31 +01:00
parent d743554df6
commit 6b7d2db612
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
@foreach(Mcamara\LaravelLocalization\Facades\LaravelLocalization::getSupportedLocales() as $localeCode => $properties)
<li class="dropdown-item">
<a rel="alternate" hreflang="{{ $localeCode }}" href="{{ Mcamara\LaravelLocalization\Facades\LaravelLocalization::getLocalizedURL($localeCode, null, [], true) }}">
<img src="https://www.countryflags.io/{{$localeCode}}/flat/64.png"> {{ $properties['native'] }}
<img src="https://www.countryflags.io/{{($localeCode == 'en') ? 'gb' : $localeCode}}/flat/24.png"> {{ $properties['native'] }}
</a>
</li>
@endforeach