<li class="@classNames">
    <a class="<?php if ($_lang->getId() == $this->getContext()->getCurrentStoreId()): ?> active<?php endif ?>"
       href="<?php echo $_lang->getCurrentUrl() ?>">
        <?php echo $this->getContext()->htmlEscape($_lang->getName()) ?>
    </a>
</li>