title: how to translate strings via php from a module in prestashop?
body: <p>I'm building a new module. As stated by the docs, I'm using the l() on a module's function, with a syntax like this:</p>
  
  <pre><code>$subtitles = array(
      '22' =&gt; $this-&gt;l('Per acquisti superiori ai 50€'),
      '23' =&gt; $this-&gt;l('30 giorni per sostituire o rendere')
  );
  </code></pre>
  
  <p>I also can see, edit and save that sentences on tha backoffice translation page.</p>
  
  <p>But if I check for ex. $subtitles[22], I always get the italian version, not the english one. Note that I checked also that $this->context->language->id corresponds to english.</p>
  
  <p>So what's the problem here?</p>