docteurklein/TranslatorBundle

Additional markup not always appropriate

schmittjoh opened this issue · 1 comments

Right now, the additional mark which is needed by Javascript is inserted for all trans() calls. This makes this bundle incompatible for example with my JMSI18nRoutingBundle which uses the translator to translate URLs.

I would propose to move this logic to the templating helper where you can reasonably assume that people actually want to insert the translated text in a template.

Oh yes i haven't thought to that.
I'll move this in the helper then.

Thanks for feedback!