symfony - Symfony2 translations without domain -


i want able use twig translator without having set domain. keep translations organized put them inside resources/translation folder of bundles. don't want them in 1 file. translation in twig need following:

{{ 'mystringtotranslate'|trans({}, 'mybundle') }} 

is there way load bundle translations following:

{{ 'mystringtotranslate'|trans }} 


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -