schmittjoh / JMSI18nRoutingBundle

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

Moving conditional statement, if the locale resolver was not able to determine a locale #199

Open shefik opened 7 years ago

shefik commented 7 years ago

Moving conditional statement. If the locale resolver was not able to determine a locale, then all efforts to make an informed decision have failed. Just display something as a last resort. Avoids a possible exception, if the requested language is an empty string - JMS\I18nRoutingBundle\Exception\NotAcceptableLanguageException: The requested language "" was not available.

shefik commented 7 years ago

Refs. https://github.com/zikula/core/issues/3284

acasademont commented 7 years ago

Hi @shefik is this still relevant?