lexik / LexikTranslationBundle

This Symfony bundle allow to import translation files content into the database and provide a GUI to edit translations.
MIT License
422 stars 259 forks source link

Use LocaleManagerInterface on CleanCacheListener #357

Open mickaelblondeau opened 4 years ago

mickaelblondeau commented 4 years ago

Hello,

It's possible to change the LocaleManager using the parameter lexik_translation.locale.manager.class, but the CleanTranslationCacheListerner only allows the source LocaleManager and not the interface

I proposed a fix to allow using any LocaleManagerInterface instead