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