JMSI18nRoutingBundle icon indicating copy to clipboard operation
JMSI18nRoutingBundle copied to clipboard

Locale provider

Open h3llr4iser opened this issue 9 years ago • 1 comments

I want to get locales from database but I have only found to gets the locales from configuration:

    default_locale: %locale%
    locales: %locales%
    strategy: prefix

Is there any way to get the locales from a service like that:

    locale_provider: id_service_locale_provider
    strategy: prefix

h3llr4iser avatar Apr 12 '15 12:04 h3llr4iser

Good idea, this would also reduce duplication of code.

jdemangeon avatar Jun 22 '15 06:06 jdemangeon