title: Magento get language code in template file
body: <p>I need a helper function to get the current language code. I want to use it in a templete file, like /products/view.phtml, only for testing purposes.</p>
  
  <p>Does it already exist?</p>
  
  <p>I have something in mind like the URL-helper</p>
  
  <pre><code>$url = $this-&gt;helper('core/url')-&gt;getCurrentUrl();
  </code></pre>