diff --git a/Router/I18nRouter.php b/Router/I18nRouter.php index de6cb25..481b0d8 100644 --- a/Router/I18nRouter.php +++ b/Router/I18nRouter.php @@ -195,6 +195,7 @@ private function matchI18n(array $params, $url) foreach($this->hostMap as $locale => $host) { if ($host == $this->context->getHost()) { $this->context->setParameter('_locale', $locale); + break; } }