title: Cakephp send email in different user selected language
body: <p>I want to sent email on a specific language regarding of the web language.</p>
  <p>For example when the user register he has the possibility to select a language for example English - <strong>en</strong>, Italian - <strong>it</strong>, German - <strong>de</strong> and french - <strong>fr</strong>.</p>
  <p>The website is  multilingual, so what i wanna do is that when a user fills a form for example the contact form, and after he submits the form an e-mail is sent to him.</p>
  <p>So lets assume that he has selected Italian as language of the website, but when he was registered he had selected English.  So the E-mail should be sent on English even though the site is in Italian.</p>
  <p>Emails are translated through __() function of cakephp using .pot files.</p>
  <p>Email Template is this:</p>
  <p>contact_us_user</p>
  <pre><code>&lt;h2 style=&quot;color: #ee2424;&quot;&gt;
      &lt;?php 
          echo __('SITENAME');
      ?&gt;
  &lt;/h2&gt;
  &lt;?php
      echo &quot;&lt;h2 style='text-align: left;'&gt;&quot;;
      if (isset($firstname) &amp;&amp; isset($lastname) &amp;&amp; isset($title)) {
          echo __('Hello &lt;span style=&quot;color: #ee2424;&quot;&gt; %s %s&lt;/span&gt;.', $firstname, $lastname);
      } else {
          echo __('Hello');
      }
      echo &quot;&lt;/h2&gt;&quot;;
      echo __('Thank you for contacting us!');
      echo &quot;&lt;br /&gt;&quot;;
      echo __('We will take a look to your &lt;strong&gt;reservation enquiry&lt;/strong&gt; and we will get back to you with a booking quote');
      echo &quot;&lt;br /&gt;&quot;;
      echo &quot;&lt;hr /&gt;&quot;;
      echo __('&lt;p&gt;Thanks and Regards.&lt;/p&gt;');
  ?&gt;
  </code></pre>
  <p>And the function that send the e-mail is this:</p>
  <pre><code>/*  SEND MESSAGE TO THE USER    */
              $layout = 'default';
              $template = 'contact_us_user';
              $subject  = __('TEST');
              $title_for_layout = __('Contact US');
              $viewVars = array(
                  &quot;firstname&quot;  =&gt; $this-&gt;request-&gt;data['Contact']['name'],
                  &quot;lastname&quot;  =&gt; $this-&gt;request-&gt;data['Contact']['surname'],
              );
              if(isset($this-&gt;request-&gt;data['Contact']['email']) &amp;&amp; !empty($this-&gt;request-&gt;data['Contact']['email']) &amp;&amp; trim($this-&gt;request-&gt;data['Contact']['email'])!='') {
                  $this-&gt;__sendEmail($this-&gt;request-&gt;data['Contact']['email'], $subject, $template, $viewVars, $layout, $title_for_layout);
              }
  </code></pre>
  <p>And the method is as bellow:</p>
  <pre><code>/**
   * send E-mail method
   *
   * @return boolean
   */
  public function __sendEmail($emailTo, $subject = 'Email', $template = 'default', $viewVars, $layout = 'default', $title_for_layout = 'test') {
      $this-&gt;set('title_for_layout', $title_for_layout);
      App::uses('CakeEmail', 'Network/Email');
      $Email = new CakeEmail();
      $Email-&gt;template($template, $layout)
              -&gt;emailFormat('html')
              -&gt;viewVars($viewVars) 
              -&gt;from(array('info@sitename.com'=&gt;'sitename.com'))
              -&gt;to($emailTo)
              -&gt;subject($subject);
      return $Email-&gt;send();
  }
  </code></pre>
  <p>So what I am asking is that is there a way or parameter to pass to email to indicate in which language I want email to be sent.
  Something like: <code>$language = 'en';</code></p>
  <p>My Cakephp version is: 2.5.6</p>
  <p>Thanks in advance.</p>