@php
$localeImage = null;
@endphp
@foreach (core()->getCurrentChannel()->locales as $locale)
@if ($locale->code == app()->getLocale())
@php
$localeImage = $locale->locale_image;
@endphp
@endif
@endforeach
@if ($localeImage)
 }})
@elseif (app()->getLocale() == 'en')
 }})
@endif