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 -

ios - Apple Push Notifications + TestFlight + Enterprise wildcard provisioning profile -

android - Drag and drop in ScrollView -