![]()  | 
	
	
		
 Different Language Images 
		
		
		
		I am working with version 4.4 and I have English and French languages set up and working. I need to have the images different (Main image, company logo, etc.) on the French site.  
	I have it working on an older version using if statements however I cannot get it to work with version 4.4. This is what I have {if $store_language eq "EN"} <img src="{$AltImagesDir}/fashion_mosaic/welcome.jpg" class="welcome" alt="" /> {else} <img src="{$AltImagesDir}/fashion_mosaic/welcomeFR.jpg" class="welcome" alt="" /> {/if} This does not work on version 4.4. I am editing the welcome.tpl. Any help with this would be greatly appreciated. Thanks Shane  | 
	
		
 Re: Different Language Images 
		
		
		
		Try this code: 
	--- {if $store_language eq "en"} <img src="{$AltImagesDir}/fashion_mosaic/welcome.jpg" class="welcome" alt="" /> {else} <img src="{$AltImagesDir}/fashion_mosaic/welcomeFR.jpg" class="welcome" alt="" /> {/if} ---  | 
	
		
 Re: Different Language Images 
		
		
		
		I tried many different things, however never had it all lowercase. 
	This worked great! Thanks  | 
	
		
 Re: Different Language Images 
		
		
		
		I got this working for the images I have in the welcome.tpl   However I need this for the main company logo as well. 
	In the Head.tpl I see the following code: <a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/xlogo.gif" alt="" /></a> How do I get this to display a different logo if it is French??? I know I can change the image name in the CSS stylesheet, however I dont know how to do it for a different logo? Thanks Shane  | 
	
		
 Re: Different Language Images 
		
		
		
		I guess the same trick should work: 
	Code: 
	<a href="{$catalogs.customer}/home.php"> | 
	
		
 Re: Different Language Images 
		
		
		
		This code did not work. I did try this already. 
	I dont understand where this xlogo.gif is known that the actual logo name is company_logo.jpg? Then I assume I should name the french logo company_logoFR.jpg. I am using .jpg and not .gif? Any other suggestions?  | 
| All times are GMT -8. The time now is 12:36 AM. | 
	Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.