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
Post a Comment