<?php
    $manager = new \Modules\Locales\Models\Manager();
?>
<li class="dropdown dropdown-list-toggle"><a href="#" data-toggle="dropdown"
        class="nav-link notification-toggle nav-link-lg">
        <img alt="<?php echo e($manager->getCountryCode(app()->getLocale())); ?>"
             class="mr-2"
             src="https://flagsapi.com/<?php echo e($manager->getCountryCode(app()->getLocale())); ?>/flat/64.png"
             style="width: 16px;">
        <?php echo e($manager->iso639->languageByCode1(app()->getLocale())); ?>

    </a>
    <div class="dropdown-menu dropdown-list dropdown-menu-right">
        <div class="dropdown-header"><?php echo e(__('locales::general.language')); ?>

        </div>
        <div class="dropdown-list-content dropdown-list-icons">
            <?php $__currentLoopData = $manager->getInstalled(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $lang): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <a href="<?php echo e(route('toggle.lang', ['lang' => $key])); ?>" class="dropdown-item dropdown-item-unread">
                    <img alt="<?php echo e($manager->getCountryCode($key)); ?>" class="mr-2"
                         src="https://flagsapi.com/<?php echo e($manager->getCountryCode($key)); ?>/flat/64.png"
                         style="width: 16px;">
                    <?php echo e($lang); ?>

                </a>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
    </div>
</li>
<?php /**PATH /var/www/wemx/Modules/Locales/Resources/views/admin/default/elements/navbar-dropdown-right.blade.php ENDPATH**/ ?>