<?php
    $language = !empty(checkLanguageSession()) ? checkLanguageSession() : getDefaultLanguage();
?>
<ul class="nav nav-pills justify-content-end cursor-pointer mt-4 me-4">
    <li class="nav-item dropdown">
        <a class="btn btn-primary w-150px mb-5 indicator m-3" data-bs-toggle="dropdown" href="javascript:void(0)"
            role="button" aria-expanded="false"><?php echo e(getUserLanguages()[$language]); ?>

        </a>
        <ul class="dropdown-menu w-70px">
            <?php $__currentLoopData = getUserLanguages(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li class="<?php echo e(checkLanguageSession() == $key ? 'active' : ''); ?>">
                    <a class="dropdown-item  px-5 language-select <?php echo e(checkLanguageSession() == $key ? 'bg-primary text-white' : 'text-dark'); ?>"
                        data-id="<?php echo e($key); ?>"><?php echo e($value); ?>

                    </a>
                </li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
    </li>
</ul>
<?php /**PATH /home/elitdevs/accounting-1.elitdevs.com/resources/views/auth/change_language_button.blade.php ENDPATH**/ ?>