schmittjoh / JMSI18nRoutingBundle

Allows you to internationalize your routing
http://jmsyst.com/bundles/JMSI18nRoutingBundle
358 stars 159 forks source link

Locale provider #150

Open h3llr4iser opened 9 years ago

h3llr4iser commented 9 years ago

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
jdemangeon commented 9 years ago

Good idea, this would also reduce duplication of code.