<select id="language" class="w-100 min-w-150 form-control text-capitalize country-flag-select" data-toggle="select2"
    onchange="localizeData(this.value)">
    <?php $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <option value="<?php echo e($language->code); ?>" <?php echo e($lang_key == $language->code ? 'selected' : ''); ?>

            data-flag="<?php echo e(staticAsset('backend/assets/img/flags/' . $language->flag . '.png')); ?>">
            <?php echo e($language->name); ?>

        </option>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
<?php /**PATH E:\xampp\htdocs\ai\pinterai\resources\views/components/change-language.blade.php ENDPATH**/ ?>