title: How to get controller/i18n object from library in Symfony2?
body: <p>In <strong>Symfony1</strong> I do this by using:</p>
  
  <pre><code>sfContext::getInstance()-&gt;getController()-&gt;...
  sfContext::getInstance()-&gt;getI18N()-&gt;...
  </code></pre>
  
  <p>How to get this in <strong>Symfony2</strong>?</p>
  
  <p><strong>UPDATE</strong>:
  In Symfony2 this is impossible!</p>