Move business code out of TranslatableTrait
Closed this issue · 1 comments
artggd commented
The setLocale()
method of TranslatableTrait
contains some business logic that should be executed in a doctrine listener rather than within the trait. For now, not using the trait can lead to buggy translations.
artggd commented
Actually the business code wasn't useful at all for TranslationBundle. Moved it in my own project.