JMSI18nRoutingBundle icon indicating copy to clipboard operation
JMSI18nRoutingBundle copied to clipboard

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

Open shefik opened this issue 8 years ago • 2 comments

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 avatar Dec 10 '16 09:12 shefik

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

shefik avatar Dec 10 '16 09:12 shefik

Hi @shefik is this still relevant?

acasademont avatar Jun 25 '17 10:06 acasademont