schmittjoh / JMSI18nRoutingBundle

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

PrependConfig not applyable #248

Closed YellowPhoenix18 closed 2 years ago

YellowPhoenix18 commented 3 years ago

In the newest version of this bundle it is not possible to set variables like default_locale via preprendConfig.

As example: We have a language-bundle handling pretty much of the language-stuff. Our idea is to load the jmsi18nRoutingBundle via the language-bundle. But when we prepend the config in the language-bundle and install it(the language-bundle requires the jmsi18nRoutingBundle in composer) we get the error-message that default_locale must be set. Basically this is already done via prependConfig, but this is not checked in the composer-check. Is there a solution to solve this/can you make a version supporting prependConfig?