Closed
Description
Description
There is no option to set locales that will be used in an app. FrameworkExtension is currently collect all the locales from different bundles (registerTranslatorConfiguration) and then it goes to Translator cache warmer. So I have many extra translations warmed up, but I want to use just a few. They are basically useless and take warmup time.
Example
So translation.yaml
might contain available_locales
directive:
framework:
available_locales: ['en', 'fr']
and registerTranslatorConfiguration() function might restrict Finder to that locales.