{*
 * CubeCart v6
 * ========================================
 * CubeCart is a registered trade mark of CubeCart Limited
 * Copyright CubeCart Limited 2026. All rights reserved.
 * UK Private Limited Company No. 5323904
 * ========================================
 * Web:   https://www.cubecart.com
 * Email:  hello@cubecart.com
 * License:  GPL-3.0 https://www.gnu.org/licenses/quick-guide-gplv3.html
 *}
{if $LANGUAGES}
<div class="right text-center show-for-medium-up" id="box-language">
   <a href="#" data-dropdown="language-switch" class="button trans small" title="{$current_language.title}" rel="nofollow"><img src="{$STORE_URL}/language/flags/{$current_language.code}.png" alt="{$current_language.title}"></a>
   <ul id="language-switch" data-dropdown-content class="f-dropdown">
      {foreach from=$LANGUAGES item=language}
      {if $current_language.code!==$language.code}
      <li class="text-left"><a href="{$language.url}" title="{$language.title}" rel="nofollow"><img src="{$STORE_URL}/language/flags/{$language.code}.png" alt="{$language.title}"> {$language.title}</a></li>
      {/if}
      {/foreach}
   </ul>
</div>
{/if}