<p dir="auto">Hi, guys!<br>
This is actually a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5680068" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/4958" data-hovercard-type="issue" data-hovercard-url="/symfony/symfony/issues/4958/hovercard" href="https://github.com/symfony/symfony/issues/4958">#4958</a> and the issue description could be found there.<br>
But the problem still exists.<br>
Why after upgrading to symfony-2.1.0-beta4 aliasing of classes stopped working?<br>
More about environment:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="PHP 5.4.4-2 (cli) (built: Jun 20 2012 09:52:11) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with XCache v2.0.0, Copyright (c) 2005-2012, by mOo"><pre class="notranslate">PHP 5.4.4-2 (cli) (built: Jun 20 2012 09:52:11) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
    with XCache v2.0.0, Copyright (c) 2005-2012, by mOo</pre></div>
<p dir="auto">Now paths to files with translations adds when container compiles <a href="https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L407">https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php#L407</a> . Sometimes needed change way to locate translation file, for example when there are themes, wich can override translations from bundle.</p>