Jump to content

Block Language not showing up the name of the language


Recommended Posts

Hi,

 

I've got a problem with the block language which is not showing the name of the language on the top header.

 

Here is the first code of the blocklanguage.tpl

<div class="block-languages popup-over pull-left e-scale">
		<div class="popup-title">
			<a href="#">
				<i class="fa fa-globe"></i>
				{foreach from=$languages key=k item=language name="languages"}
					{if $language.iso_code == $lang_iso}					 
						<span>{$language.name|regex_replace:"/\s\(.*\)$/":""}</span> 		 
						{*<img src="{$img_lang_dir}{$language.id_lang}.jpg" alt="{$language.iso_code}" width="14" height="10" />*}
					{/if}
				{/foreach}
			</a>
		</div>

The popup is showing that's why i didn't put the rest of the code.. but in the top header there's only the fa fa-globe which is showing and not the name of the current language!! Any help will be much appreciated

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...