title: Change logo on language change Opencart
body: <p>I am trying to make the main logo of the store change when I change language.
  My company has a different name in english (originally in French).</p>
  
  <p>Here's the code I have :</p>
  
  <p>I have changed (in catalog/view/theme/yourtheme/template/common/header.tpl)</p>
  
  <pre><code> &lt;?php if ($logo) { ?&gt;
    &lt;div id="logo"&gt;&lt;a href="&lt;?php echo $home; ?&gt;"&gt;&lt;img src="&lt;?php echo $logo; ?&gt;" title="&lt;?php echo $name; ?&gt;" alt="&lt;?php echo $name; ?&gt;" /&gt;&lt;/a&gt;&lt;/div&gt;
    &lt;?php } ?&gt;
  </code></pre>
  
  <p>For :</p>
  
  <pre><code>&lt;?php
  if($lang == 'fr'){
  $logo = 'image/data/Lg_Axesoirs_Blanc_FR_PNG.png';
  } elseif($lang == 'en'){
  $logo = 'image/data/Lg_Axesoirs_Blanc_EN_PNG.png';
  }
  ?&gt; 
  &lt;?php if ($logo) { ?&gt;
  &lt;div id="logo"&gt;&lt;a href="&lt;?php echo $home; ?&gt;"&gt;&lt;img src="&lt;?php echo $logo; ?&gt;" title="&lt;?php echo $name; ?&gt;" alt="&lt;?php echo $name; ?&gt;" /&gt;&lt;/a&gt;&lt;/div&gt;
  &lt;?php } ?&gt;
  </code></pre>
  
  <p>But it's not working, the logo does not change, but I don't understand what's wrong in my code.</p>
  
  <p>Thanks!</p>