{"action":"closed","issue":{"number":12,"created_at":"2011-10-18T17:08:39Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"If I have:\r\n\r\n    homepage:\r\n        locales:  { en: /welcome/{name}, fr: /bienvenue/{name}, de: /willkommen/{name} }\r\n        defaults: { _controller: MyWebsiteBundle:Frontend:index }\r\n\r\nis it possible to configure bundle that URL\r\n  \r\n    en.myexample.com/welcome/john \r\n\r\nwill be valid, but\r\n\r\n    de.myexample.com/welcome/franz\r\n\r\nwill throw exception that no route was found? de.myexample.com/willkommen/franz should be only accepted for german. But actually all of combinations of URL work regardless  of locale parameter in URL.\r\n\r\nThank you","comments":2,"title":"Is it possible to check valid locale?","updated_at":"2011-10-18T19:28:05Z","url":"https://api.github.com/repos/BeSimple/BeSimpleI18nRoutingBundle/issues/12","id":1956930,"assignee":null,"milestone":null,"closed_at":"2011-10-18T19:28:05Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/7cd604fcaa487228a2c6a524cf4de819?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7cd604fcaa487228a2c6a524cf4de819","url":"https://api.github.com/users/zapik","id":945208,"login":"zapik"},"html_url":"https://github.com/BeSimple/BeSimpleI18nRoutingBundle/issues/12","labels":[],"state":"closed"},"legacy":{"number":12,"action":"closed","issue":1956930}}