I am setting up FOSUserBundle dev-master with Symfony 2.3 RC1 but translation is not working well. It comes by default with trans_default_domain in the templates
In the login template. It doesn't with trans_default_domain
{% trans_default_domain "FOSUserBundle" %}
<label class="control-label" for="username">{{ 'security.login.username'|trans }}</label>
but using trans({}, 'FOSUserBundle') It works
<label class="control-label" for="username">{{ 'security.login.username'|trans({}, 'FOSUserBundle') }}</label>
What's wrong with trans_default_domain? need any extra config?