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

node.js - StackOverflow API not returning JSON -

python - Subclassed QStyledItemDelegate ignores Stylesheet -

php - Laravel 4.1 to Heroku: SQLSTATE[HY000] [2002] No such file or directory -